ASAPCabinetFE
 
Loading...
Searching...
No Matches
logger.cpp File Reference

Implements the Logger class for logging in ASAPCabinetFE. More...

#include "log/logger.h"
#include <iostream>
#include <ctime>
#include <sstream>
#include <filesystem>
+ Include dependency graph for logger.cpp:

Macros

#define COLOR_RED   "\033[31m"
 
#define COLOR_GREEN   "\033[32m"
 
#define COLOR_ORANGE   "\033[33m"
 
#define COLOR_YELLOW   "\033[38;5;226m"
 
#define COLOR_RESET   "\033[0m"
 

Detailed Description

Implements the Logger class for logging in ASAPCabinetFE.

This file provides the implementation of the Logger singleton class, which handles logging to a file, console with color coding, and integration with LoadingProgress. Logging operations are thread-safe using a mutex for file and console output.