Repository navigation
Releases
Releases · ILYXAAA/logger
Version 1.5.0
Version 1.5.0
New functionality has been added. You can import the StatusLogger class (inherited from the Logger), which will once in a while display information that everything is OK with the operation of your program. When the main thread of your program crashes, it will also output error information to the console.
Usage:
from ilyxalogger import StatusLogger
StatusLogger = StatusLogger(status_interval_seconds=60*60,
status_message="Everything is OK",
dont_print_status=True,
error_status_message="An error has occurred in the main thread")
StatusLogger.start()
while True:
do_smth()
raise ValueErrorVersion 1.4.0
Security update
Added sanitization of incoming data to eliminate vulnerabilities related to log forgery. (sanitize_text, sanitize_color)
Version 1.3.0
Version 1.2.0
Version 1.1.0
Stable version
ChangeLog:
- Fixed write_to_file encoding error