|
lintel 0.2.0
|
#include <LoggerConfiguration.h>
Public Member Functions | |
| LoggerConfiguration (std::string processName, std::string pattern, std::string level, bool isAsync, std::vector< LoggerSinkConfiguration > loggerSinks) | |
| const std::string & | getProcessName () const |
| const std::string & | getPattern () const |
| const std::string & | getLevel () const |
| bool | isAsync () const |
| const std::vector< LoggerSinkConfiguration > & | getLoggerSinks () const |
Configuration for a single logger instance
| lintel::LoggerConfiguration::LoggerConfiguration | ( | std::string | processName, |
| std::string | pattern, | ||
| std::string | level, | ||
| bool | isAsync, | ||
| std::vector< LoggerSinkConfiguration > | loggerSinks | ||
| ) |
Construct a logger configuration
| processName | The process name |
| pattern | The log pattern |
| level | The log level |
| isAsync | Whether logging is asynchronous |
| loggerSinks | The sink configurations |
| const std::string & lintel::LoggerConfiguration::getLevel | ( | ) | const |
Get the log level
| const std::vector< LoggerSinkConfiguration > & lintel::LoggerConfiguration::getLoggerSinks | ( | ) | const |
Get the logger sink configurations
| const std::string & lintel::LoggerConfiguration::getPattern | ( | ) | const |
Get the log pattern
| const std::string & lintel::LoggerConfiguration::getProcessName | ( | ) | const |
Get the process name
| bool lintel::LoggerConfiguration::isAsync | ( | ) | const |
Check if logging is asynchronous