-
Notifications
You must be signed in to change notification settings - Fork 0
The Logger Class
Ian Andretta edited this page Jul 25, 2026
·
3 revisions
To make an Logger an instance its requires one argument the path to the folder where you logs will be recorded, also you can specify if its includes the time or the level both are set to true by default.
Example: `Logger("path_of_folder", include_time=True, include_level=True)
Use the log method with a message, and a LoggerLevel argument - see LoggerLevel
logger.log("Cannot divide by zero", Logger.ERROR)
Output:
![]()
Table of Contents