7 #ifndef OUTPUT_OPTION_H
8 #define OUTPUT_OPTION_H
85 #endif // OUTPUT_OPTION_H
size_t maxsize
0 if no maximum size
OutputOption::Stream getStream(const std::string &stream_str)
bool flush
true to flush after each message
Stream stream
stdout/stderr if console output
static const std::string DEFAULT_SYSLOG_PATTERN
Default layout pattern for syslog logs.
std::string facility
syslog facility
std::string pattern
log content pattern
Destination destination
Members.
static const std::string DEFAULT_CONSOLE_PATTERN
Default layout pattern for console logs.
Defines the logger used by the top-level component of kea-dhcp-ddns.
OutputOption::Destination getDestination(const std::string &dest_str)
unsigned int maxver
Maximum versions (none if <= 0)
OutputOption()
Constructor.
static const std::string DEFAULT_FILE_PATTERN
Default layout pattern for file logs.
Stream
If console, stream on which messages are output.
std::string filename
Filename if file output.