Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 388 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 388 Bytes

SimpleLogger

#include "simplelogger.h"

SimpleLogger::Logger::Init(SimpleLogger::LOGMODE_CONSOLE | SimpleLogger::LOGMODE_FILE, "[MyPrefix]");

Logi << "Info Log";
// >> [MyPrefix][INF] Info Log
Logd << "Debug log";
// >> [MyPrefix][DBG] Debug log
Logw << "Warn log";
// >> [MyPrefix][WRN] Warn log
Loge << "Error Log" << Error;
// >> [MyPrefix][ERR] Error Log Error message