#include <Logger.h>
|
| static void | Start () |
| | Starts the logger.
|
| |
| static void | Close () |
| | Flushes and closes all the files used for logging.
|
| |
| static void | Flush () |
| | Flushes and keeps the files open.
|
| |
| template<typename ... Args> |
| static void | FileLog (std::string fileName, const char *message, Args &&...args) |
| | Logs in a file, if the file is used for the first time, it is opened and kept in cache.
|
| |
| static void | Log (const char *message) |
| |
| static void | Log (const std::string &message) |
| |
| template<typename ... Args> |
| static void | Log (fmt::format_string< Args... > message, Args &&... args) |
| |
| static void | DbgLog (const std::string &message) |
| |
| template<typename ... Args> |
| static void | DbgLog (fmt::format_string< Args... > message, Args &&... args) |
| |
| template<typename ... Args> |
| static void | Fatal (fmt::format_string< Args... > message, Args &&... args) |
| |
Definition at line 18 of file Logger.h.
◆ Close()
| static void Hubris::Logger::Close |
( |
| ) |
|
|
inlinestatic |
Flushes and closes all the files used for logging.
Definition at line 64 of file Logger.h.
◆ DbgLog() [1/2]
| static void Hubris::Logger::DbgLog |
( |
const std::string & | message | ) |
|
|
inlinestatic |
◆ DbgLog() [2/2]
template<typename ... Args>
| static void Hubris::Logger::DbgLog |
( |
fmt::format_string< Args... > | message, |
|
|
Args &&... | args ) |
|
inlinestatic |
◆ Fatal()
template<typename ... Args>
| static void Hubris::Logger::Fatal |
( |
fmt::format_string< Args... > | message, |
|
|
Args &&... | args ) |
|
inlinestatic |
◆ FileLog()
template<typename ... Args>
| static void Hubris::Logger::FileLog |
( |
std::string | fileName, |
|
|
const char * | message, |
|
|
Args &&... | args ) |
|
inlinestatic |
Logs in a file, if the file is used for the first time, it is opened and kept in cache.
Definition at line 87 of file Logger.h.
◆ Flush()
| static void Hubris::Logger::Flush |
( |
| ) |
|
|
inlinestatic |
Flushes and keeps the files open.
Definition at line 76 of file Logger.h.
◆ Log() [1/3]
| static void Hubris::Logger::Log |
( |
const char * | message | ) |
|
|
inlinestatic |
◆ Log() [2/3]
| static void Hubris::Logger::Log |
( |
const std::string & | message | ) |
|
|
inlinestatic |
◆ Log() [3/3]
template<typename ... Args>
| static void Hubris::Logger::Log |
( |
fmt::format_string< Args... > | message, |
|
|
Args &&... | args ) |
|
inlinestatic |
◆ Start()
| static void Hubris::Logger::Start |
( |
| ) |
|
|
inlinestatic |
Starts the logger.
Definition at line 45 of file Logger.h.
The documentation for this class was generated from the following file: