Expand description
This module contains functions for logging.
Structs
- A struct representing a logger context (internal use only, c side)
Enums
- An enum representing console colors.
- An enum representing log levels.
Functions
- Attaches a log file to the logger. If the log file already exists, it will be appended to, otherwise it will be created. Also note that there is a limit of 32 (may change in the future) log files that can be attached at the same time.
- Detaches a log file from the logger.
- Disables console logging.
- Enables console logging.
- Flushes all log messages to their respective log files.
- Returns a pointer to the logger context.
- Initializes the logger.
- Logs a message with the specified log level.
- Sets whether the logger should automatically flush all log messages to their respective log files after each log message.
- Sets the logger context.
- Shuts down the logger.