CLOG is a relatively basic logging implementation for debugging in applications.
- RGB Based Theme
- Customizable Logging options
- Timestamp Logging
- Date Logging
- Thread Safe
- Default - Everything Enabled
- NoTimestamps - Disable Timestamp Prefix
- NoColor - No Displayed Color | Ignores any color provided
- NoDate - Disable Date Prefix
Initialization of CLOG is Required. Without doing so, the library may not function as intended.
CLOG::Logger::Initialize(CLOG::Colors::Color(255,255,255));
CLOG::Logger::Info("Information");
CLOG::Logger::Initialize(CLOG::Colors::Color(255,255,255));
CLOG::Logger::Info("Warning");
CLOG::Logger::Initialize(CLOG::Colors::Color(255,255,255));
CLOG::Logger::Error("Error");
CLOG::Logger::Initialize(CLOG::Colors::Color(255,255,255), CLOG::Settings::LoggerOptions_NoDate);
CLOG::Logger::Initialize(CLOG::Colors::Color(255,255,255), CLOG::Settings::LoggerOptions_NoDate | CLOG::Settings::LoggerOptions_NoTimestamps);
CLOG::Logger::Initialize(CLOG::Colors::Color(255,255,255));
CLOG::Logger::Info("Information");
CLOG::Logger::UpdateColor(CLOG::Logger::LogType_INFO,CLOG::Colors::Color(255,0,0));
CLOG::Logger::Info("Red");
- Add Log Levels
- Add More Log Types
- Add Ability To Update Logger Options