Creates and returns pointer to the newly created by the logger at specified path
Returns pointer to the already created logger
Close the logging library
Automatically changes the file when max size is reached
- TRACE(fmt, ...)
- DEBUG(fmt, ...)
- INFO(fmt, ...)
- WARN(fmt, ...)
- ERROR(fmt, ...)
create_logger("/va/logs/LoggerTest");
set_max_file_size(KB(3));
get_logger()->trace(__func__, __LINE__, "%s\n", "ftw");
TRACE("%s\n", "Wow!!!");
close_logger();