[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #24077 [Metrics/Bot]: Refactor microblog accounts setup and updates into a MicroblogManager
#24077: Refactor microblog accounts setup and updates into a MicroblogManager
-----------------------------+-----------------
Reporter: irl | Owner: irl
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Metrics/Bot | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-----------------------------+-----------------
Most of this code is currently in the MetricsBot class directly, with the
setup in the main method.
The `microblog(MicroblogStatus)` and `error(String)` functions should be
moved. Also, there should be new functions that also serve for logging:
* `debug(String)`
* `info(String)`
* `warning(String)`
* `relay(String)`
* `network(String)`
* `alert(String)`
* `event(String)`
This will depend on #24075 to have the StatusTypes available. It will
probably also depend on #24076 in order to have the logging to the console
functionality.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24077>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs