#include <log.h>
|
| static void | Close () |
| |
| static void | Log (int loglevel, const char *format) |
| |
| template<typename... Args> |
| static void | Log (int loglevel, const char *format, Args &&... args) |
| |
| static void | Log (int loglevel, int component, const char *format) |
| |
| template<typename... Args> |
| static void | Log (int loglevel, int component, const char *format, Args &&... args) |
| |
| static void | LogFunction (int loglevel, std::string functionName, const char *format) |
| |
| template<typename... Args> |
| static void | LogFunction (int loglevel, std::string functionName, const char *format, Args &&... args) |
| |
| static void | LogFunction (int loglevel, std::string functionName, int component, const char *format) |
| |
| template<typename... Args> |
| static void | LogFunction (int loglevel, std::string functionName, int component, const char *format, Args &&... args) |
| |
| static void | MemDump (char *pData, int length) |
| |
| static bool | Init (const std::string &path) |
| |
| static void | PrintDebugString (const std::string &line) |
| |
| static void | SetLogLevel (int level) |
| |
| static int | GetLogLevel () |
| |
| static void | SetExtraLogLevels (int level) |
| |
| static bool | IsLogLevelLogged (int loglevel) |
| |
|
| static void | LogString (int logLevel, std::string &&logString) |
| |
| static void | LogString (int logLevel, int component, std::string &&logString) |
| |
| static bool | WriteLogString (int logLevel, const std::string &logString) |
| |
◆ CLog()
◆ ~CLog()
◆ Close()
◆ GetLogLevel()
| int CLog::GetLogLevel |
( |
| ) |
|
|
static |
◆ Init()
| bool CLog::Init |
( |
const std::string & |
path | ) |
|
|
static |
◆ IsLogLevelLogged()
| bool CLog::IsLogLevelLogged |
( |
int |
loglevel | ) |
|
|
static |
◆ Log() [1/4]
| static void CLog::Log |
( |
int |
loglevel, |
|
|
const char * |
format |
|
) |
| |
|
inlinestatic |
◆ Log() [2/4]
template<typename... Args>
| static void CLog::Log |
( |
int |
loglevel, |
|
|
const char * |
format, |
|
|
Args &&... |
args |
|
) |
| |
|
inlinestatic |
◆ Log() [3/4]
| static void CLog::Log |
( |
int |
loglevel, |
|
|
int |
component, |
|
|
const char * |
format |
|
) |
| |
|
inlinestatic |
◆ Log() [4/4]
template<typename... Args>
| static void CLog::Log |
( |
int |
loglevel, |
|
|
int |
component, |
|
|
const char * |
format, |
|
|
Args &&... |
args |
|
) |
| |
|
inlinestatic |
◆ LogFunction() [1/4]
| static void CLog::LogFunction |
( |
int |
loglevel, |
|
|
std::string |
functionName, |
|
|
const char * |
format |
|
) |
| |
|
inlinestatic |
◆ LogFunction() [2/4]
template<typename... Args>
| static void CLog::LogFunction |
( |
int |
loglevel, |
|
|
std::string |
functionName, |
|
|
const char * |
format, |
|
|
Args &&... |
args |
|
) |
| |
|
inlinestatic |
◆ LogFunction() [3/4]
| static void CLog::LogFunction |
( |
int |
loglevel, |
|
|
std::string |
functionName, |
|
|
int |
component, |
|
|
const char * |
format |
|
) |
| |
|
inlinestatic |
◆ LogFunction() [4/4]
template<typename... Args>
| static void CLog::LogFunction |
( |
int |
loglevel, |
|
|
std::string |
functionName, |
|
|
int |
component, |
|
|
const char * |
format, |
|
|
Args &&... |
args |
|
) |
| |
|
inlinestatic |
◆ LogString() [1/2]
| void CLog::LogString |
( |
int |
logLevel, |
|
|
int |
component, |
|
|
std::string && |
logString |
|
) |
| |
|
staticprotected |
◆ LogString() [2/2]
| void CLog::LogString |
( |
int |
logLevel, |
|
|
std::string && |
logString |
|
) |
| |
|
staticprotected |
◆ MemDump()
| void CLog::MemDump |
( |
char * |
pData, |
|
|
int |
length |
|
) |
| |
|
static |
◆ PrintDebugString()
| void CLog::PrintDebugString |
( |
const std::string & |
line | ) |
|
|
static |
◆ SetExtraLogLevels()
| void CLog::SetExtraLogLevels |
( |
int |
level | ) |
|
|
static |
◆ SetLogLevel()
| void CLog::SetLogLevel |
( |
int |
level | ) |
|
|
static |
◆ WriteLogString()
| bool CLog::WriteLogString |
( |
int |
logLevel, |
|
|
const std::string & |
logString |
|
) |
| |
|
staticprotected |
The documentation for this class was generated from the following files: