aboutsummaryrefslogtreecommitdiff
path: root/src/Logging.py
Commit message (Collapse)AuthorAgeFilesLines
* Pushing logging on to another thread was a ridiculous idea. it means CRITICALGravatar jesopo2019-01-161-16/+2
| | | | logs are in a race condition to write to file before the main thread exits.
* Preserve logged exc_info across threadsGravatar jesopo2018-12-121-0/+4
|
* Add type hint for Logging._queueGravatar jesopo2018-12-101-1/+1
|
* Put logging functionality on to it's own threadGravatar jesopo2018-12-101-2/+12
|
* 'bot.log' -> 'trace.log' and add a 'warn.log' log file that only catchesGravatar jesopo2018-11-261-5/+10
| | | | warn-and-worse
* Move setting BitBotFormatter's converter (to time.gmtime) to class definition asGravatar jesopo2018-10-301-1/+1
| | | | it's not technically correct to overwrite a funcion on an existing object
* Add type/return hints throughout src/ and, in doing so, fix some cyclicalGravatar jesopo2018-10-301-9/+9
| | | | references.
* Change trace logging level from `5` to `logging.DEBUG-1`Gravatar jesopo2018-10-011-1/+1
|
* Add 'trace' logging level for src/Database.py and src/EventManager.py veryGravatar jesopo2018-10-011-4/+21
| | | | verbose debugging
* Don't give IRCBot instance to things that don't need it, use a better way ofGravatar jesopo2018-09-271-2/+2
| | | | doing default locations for config/database/log
* Move most code in root directory to src/Gravatar jesopo2018-09-241-0/+48