-
Notifications
You must be signed in to change notification settings - Fork 1
CPP Logging Library
License
mistralol/liblogger
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
liblogger =========== CPP Logging Library Usage is simple. #include <liblogger.h> using namespace liblogger; int main(int argc, char ** argv) { LogManager::Init(); LogManager::Add(new LogSyslog()); //LogManager::Add(new LogCallBack(Function)); //LogManager::Add(new LogFile("mylogfile.log")); //LogManager::Add(new LogPipe("cat")); //LogManager::Add(new LogStderr()); //LogManager::Add(new LogStdout()); //LogManager::Add(new LogTail(500)); LogDebug("Debug Logging #1"); LogInfo("Info Logging #1"); LogNotice("Notice Logging #1"); LogWarning("Warning!!!!!!"); LogError("This is an Error"); LogCritical("Something Critical happened"); LogAlert("Alert Alert"); LogEmergency("Emergency!"); LOGGER << LOGGER_INFO << "Some Message" << std::endl; LogManager::RemoveAll(true); return 0; }
About
CPP Logging Library
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published