7#define HEPH_CL_INFO "36"
8#define HEPH_CL_WARNING "33"
9#define HEPH_CL_ERROR "31"
10#define HEPH_CL_SUCCESS "32"
11#define HEPH_CL_DEBUG "35"
22#if defined(HEPH_CL_DISABLE_COLORED_OUTPUT)
23 static inline bool coloredOutput =
false;
25 static inline bool coloredOutput =
true;
41 static void Log(
const std::string& message,
const char* logLevel);
51 static void Log(
const std::string& message,
const char* logLevel,
const std::string& libName);
59 static void LogInfo(
const std::string& message);
68 static void LogInfo(
const std::string& message,
const std::string& libName);
85 static void LogWarning(
const std::string& message,
const std::string& libName);
93 static void LogError(
const std::string& message);
102 static void LogError(
const std::string& message,
const std::string& libName);
119 static void LogSuccess(
const std::string& message,
const std::string& libName);
136 static void LogDebug(
const std::string& message,
const std::string& libName);
151 static std::string CurrentTimeToString();
152 static std::string GetLogLevelName(
const char* logLevel);
#define HEPH_API
Definition HephShared.h:124
class for printing formatted messages to the console.
Definition ConsoleLogger.h:20
static void LogDebug(const std::string &message, const std::string &libName)
static void LogWarning(const std::string &message)
static void Log(const std::string &message, const char *logLevel)
static void EnableColoredOutput()
static void LogInfo(const std::string &message)
static void LogInfo(const std::string &message, const std::string &libName)
static void LogError(const std::string &message, const std::string &libName)
static void LogSuccess(const std::string &message, const std::string &libName)
static void LogError(const std::string &message)
static void DisableColoredOutput()
static void LogDebug(const std::string &message)
static void LogWarning(const std::string &message, const std::string &libName)
static void Log(const std::string &message, const char *logLevel, const std::string &libName)
static void LogSuccess(const std::string &message)