#include <Logger.h>
|
| | Logger () |
| |
| | ~Logger () |
| |
| Level | logLevel () const |
| |
| void | logLevel (Level level) |
| |
| void | outputTypes (int outputTypes) |
| |
| int | outputTypes () const |
| |
| std::string | filename () const |
| |
| void | start () |
| |
| void | stop () |
| |
| void | log (Level level, const std::string &message, const std::string &file="", int line=-1) |
| |
| void | error (const std::string &message, const std::string &file="", int line=-1) |
| |
| void | warn (const std::string &message, const std::string &file="", int line=-1) |
| |
| void | info (const std::string &message, const std::string &file="", int line=-1) |
| |
| void | info (const std::stringstream &message, const std::string &file="", int line=-1) |
| |
| void | debug (const std::string &message, const std::string &file="", int line=-1) |
| |
| void | exception (const std::exception &e, const std::string &file="", int line=-1) |
| |
| void | exception (const std::exception &e, const std::string &message, const std::string &file="", int line=-1) |
| |
| template<class T > |
| Logger & | operator<< (const T &output) |
| |
Definition at line 32 of file Logger.h.
◆ Level
| Enumerator |
|---|
| None | |
| Debug | |
| Info | |
| Warn | |
| Error | |
Definition at line 35 of file Logger.h.
◆ OutputTypes
| Enumerator |
|---|
| StdOut | |
| StdErr | |
| File | |
Definition at line 63 of file Logger.h.
◆ Logger()
| Utils::Logger::Logger |
( |
| ) |
|
◆ ~Logger()
| Utils::Logger::~Logger |
( |
| ) |
|
◆ debug()
| void Utils::Logger::debug |
( |
const std::string & |
message, |
|
|
const std::string & |
file = "", |
|
|
int |
line = -1 |
|
) |
| |
◆ error()
| void Utils::Logger::error |
( |
const std::string & |
message, |
|
|
const std::string & |
file = "", |
|
|
int |
line = -1 |
|
) |
| |
◆ exception() [1/2]
| void Utils::Logger::exception |
( |
const std::exception & |
e, |
|
|
const std::string & |
file = "", |
|
|
int |
line = -1 |
|
) |
| |
◆ exception() [2/2]
| void Utils::Logger::exception |
( |
const std::exception & |
e, |
|
|
const std::string & |
message, |
|
|
const std::string & |
file = "", |
|
|
int |
line = -1 |
|
) |
| |
◆ filename()
| std::string Utils::Logger::filename |
( |
| ) |
const |
◆ info() [1/2]
| void Utils::Logger::info |
( |
const std::string & |
message, |
|
|
const std::string & |
file = "", |
|
|
int |
line = -1 |
|
) |
| |
◆ info() [2/2]
| void Utils::Logger::info |
( |
const std::stringstream & |
message, |
|
|
const std::string & |
file = "", |
|
|
int |
line = -1 |
|
) |
| |
◆ instance()
| Logger * Utils::Logger::instance |
( |
| ) |
|
|
static |
◆ log()
| void Utils::Logger::log |
( |
Level |
level, |
|
|
const std::string & |
message, |
|
|
const std::string & |
file = "", |
|
|
int |
line = -1 |
|
) |
| |
◆ logLevel() [1/2]
◆ logLevel() [2/2]
◆ operator<<()
template<class T >
| Logger & Utils::Logger::operator<< |
( |
const T & |
output | ) |
|
◆ outputTypes() [1/2]
| int Utils::Logger::outputTypes |
( |
| ) |
const |
◆ outputTypes() [2/2]
| void Utils::Logger::outputTypes |
( |
int |
outputTypes | ) |
|
◆ start()
| void Utils::Logger::start |
( |
| ) |
|
◆ stop()
| void Utils::Logger::stop |
( |
| ) |
|
◆ warn()
| void Utils::Logger::warn |
( |
const std::string & |
message, |
|
|
const std::string & |
file = "", |
|
|
int |
line = -1 |
|
) |
| |
The documentation for this class was generated from the following files: