OutputOption::Destination getDestination(const std::string &dest_str)
OutputOption::Stream getStream(const std::string &stream_str)
Defines the logger used by the top-level component of kea-dhcp-ddns.
Stream
If console, stream on which messages are output.
Destination destination
Members.
bool flush
true to flush after each message
size_t maxsize
0 if no maximum size
OutputOption()
Constructor.
unsigned int maxver
Maximum versions (none if <= 0)
std::string facility
syslog facility
Stream stream
stdout/stderr if console output
std::string filename
Filename if file output.