7 #ifndef OUTPUT_OPTION_H 8 #define OUTPUT_OPTION_H 77 #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
std::string facility
syslog facility
Destination destination
Members.
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.
Stream
If console, stream on which messages are output.
std::string filename
Filename if file output.