Skip to content

gagankonana/logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

logger.h

logger.h provides a simple logging utility with different logging levels: DEBUG, INFO, and ERROR.

Usage

  1. Include the header:

    #include "logger.h"
  2. Log messages using macros:

    LOG_DEBUG("Debug message");
    LOG_INFO("Info message");
    LOG_ERROR("Error message");
  3. Set the log level:

    Logger::getInstance().setLogLevel(LogLevel::INFO);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages