#include <logger.h>
|
void | setHeaderFormat (std::string const &str) |
|
std::string | getHeaderFormat () const |
|
void | setLogLevel (LogLevel level) |
|
LogLevel | getLogLevel () |
|
void | setLogClock (LogClock log_clock) |
|
template<typename... TT> |
void | log (LogLevel log_level, std::string const &header_text, std::string const &file, int line, std::string const &function, std::string const &message, TT &&... args) |
|
void | log (LogLevel log_level, std::string const &header_text, std::string const &file, int line, std::string const &function) |
|
◆ getHeaderFormat()
auto farm_ng::StreamLogger::getHeaderFormat |
( |
| ) |
const |
◆ getLogLevel()
auto farm_ng::StreamLogger::getLogLevel |
( |
| ) |
|
◆ log() [1/2]
void farm_ng::StreamLogger::log |
( |
LogLevel |
log_level, |
|
|
std::string const & |
header_text, |
|
|
std::string const & |
file, |
|
|
int |
line, |
|
|
std::string const & |
function |
|
) |
| |
|
inline |
◆ log() [2/2]
template<typename... TT>
void farm_ng::StreamLogger::log |
( |
LogLevel |
log_level, |
|
|
std::string const & |
header_text, |
|
|
std::string const & |
file, |
|
|
int |
line, |
|
|
std::string const & |
function, |
|
|
std::string const & |
message, |
|
|
TT &&... |
args |
|
) |
| |
|
inline |
◆ setHeaderFormat()
void farm_ng::StreamLogger::setHeaderFormat |
( |
std::string const & |
str | ) |
|
◆ setLogClock()
void farm_ng::StreamLogger::setLogClock |
( |
LogClock |
log_clock | ) |
|
◆ setLogLevel()
void farm_ng::StreamLogger::setLogLevel |
( |
LogLevel |
level | ) |
|
The documentation for this class was generated from the following files:
- projects/farm-ng-core/cpp/farm_ng/core/logging/logger.h
- projects/farm-ng-core/cpp/farm_ng/core/logging/logger.cpp