Module cgl_rs::logger

source ·
Expand description

This module contains functions for logging.

Structs

Enums

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.