#include <wsjcpp_core.h>
|
| static void | info (const std::string &sTag, const std::string &sMessage) |
| |
| static void | err (const std::string &sTag, const std::string &sMessage) |
| |
| static void | throw_err (const std::string &sTag, const std::string &sMessage) |
| |
| static void | warn (const std::string &sTag, const std::string &sMessage) |
| |
| static void | ok (const std::string &sTag, const std::string &sMessage) |
| |
| static std::vector< std::string > | getLastLogMessages () |
| |
| static void | setLogDirectory (const std::string &sDirectoryPath) |
| |
| static void | setPrefixLogFile (const std::string &sPrefixLogFile) |
| |
| static void | setEnableLogFile (bool bEnable) |
| |
| static void | setRotationPeriodInSec (long nRotationPeriodInSec) |
| |
|
| static void | add (WsjcppColorModifier &clr, const std::string &sType, const std::string &sTag, const std::string &sMessage) |
| |
◆ add()
| void WsjcppLog::add |
( |
WsjcppColorModifier & |
clr, |
|
|
const std::string & |
sType, |
|
|
const std::string & |
sTag, |
|
|
const std::string & |
sMessage |
|
) |
| |
|
staticprivate |
◆ err()
| void WsjcppLog::err |
( |
const std::string & |
sTag, |
|
|
const std::string & |
sMessage |
|
) |
| |
|
static |
◆ getLastLogMessages()
| std::vector< std::string > WsjcppLog::getLastLogMessages |
( |
| ) |
|
|
static |
◆ info()
| void WsjcppLog::info |
( |
const std::string & |
sTag, |
|
|
const std::string & |
sMessage |
|
) |
| |
|
static |
◆ ok()
| void WsjcppLog::ok |
( |
const std::string & |
sTag, |
|
|
const std::string & |
sMessage |
|
) |
| |
|
static |
◆ setEnableLogFile()
| void WsjcppLog::setEnableLogFile |
( |
bool |
bEnable | ) |
|
|
static |
◆ setLogDirectory()
| void WsjcppLog::setLogDirectory |
( |
const std::string & |
sDirectoryPath | ) |
|
|
static |
◆ setPrefixLogFile()
| void WsjcppLog::setPrefixLogFile |
( |
const std::string & |
sPrefixLogFile | ) |
|
|
static |
◆ setRotationPeriodInSec()
| void WsjcppLog::setRotationPeriodInSec |
( |
long |
nRotationPeriodInSec | ) |
|
|
static |
◆ throw_err()
| void WsjcppLog::throw_err |
( |
const std::string & |
sTag, |
|
|
const std::string & |
sMessage |
|
) |
| |
|
static |
◆ warn()
| void WsjcppLog::warn |
( |
const std::string & |
sTag, |
|
|
const std::string & |
sMessage |
|
) |
| |
|
static |
◆ g_WSJCPP_LOG_GLOBAL_CONF
The documentation for this class was generated from the following files: