liblog
A basic logging library
Types
- The different types of logging severity
Functions
- Sets up the logging library. If not called,
fileis set to/log/unknown.log, andlevelis set toLOG_INFO - Writes a formatted string, along with timestamp and colour-coded log level
Macros
- Wrappers for
log_console_level(), automatically inputting the correct log level - Wrapper for
log_error, formatted likeperror()
Variables
- Current set minimum level to log. If you attempt to log using a level lower than this, it is ignored.
- Current set outputted logging file.