![]() |
Kea
1.5.0
|
#include <output_option.h>
Public Types | |
| enum | Destination { DEST_CONSOLE = 0, DEST_FILE = 1, DEST_SYSLOG = 2 } |
| Destinations. More... | |
| enum | Stream { STR_STDOUT = 1, STR_STDERR = 2 } |
| If console, stream on which messages are output. More... | |
Public Member Functions | |
| OutputOption () | |
| Constructor. More... | |
Public Attributes | |
| Destination | destination |
| Members. More... | |
| std::string | facility |
| syslog facility More... | |
| std::string | filename |
| Filename if file output. More... | |
| bool | flush |
| true to flush after each message More... | |
| size_t | maxsize |
| 0 if no maximum size More... | |
| unsigned int | maxver |
| Maximum versions (none if <= 0) More... | |
| Stream | stream |
| stdout/stderr if console output More... | |
Definition at line 37 of file output_option.h.
Destinations.
Prefixed "DEST_" to avoid problems with the C stdio.h FILE type.
| Enumerator | |
|---|---|
| DEST_CONSOLE | |
| DEST_FILE | |
| DEST_SYSLOG | |
Definition at line 41 of file output_option.h.
If console, stream on which messages are output.
| Enumerator | |
|---|---|
| STR_STDOUT | |
| STR_STDERR | |
Definition at line 48 of file output_option.h.
|
inline |
Constructor.
Definition at line 54 of file output_option.h.
| Destination isc::log::OutputOption::destination |
Members.
Where the output should go
Definition at line 61 of file output_option.h.
Referenced by isc::dhcp::test::LogContentTest::LogContentTest(), isc::log::setDefaultLoggingOutput(), and isc::process::LoggingInfo::toSpec().
| std::string isc::log::OutputOption::facility |
syslog facility
Definition at line 64 of file output_option.h.
Referenced by isc::log::setDefaultLoggingOutput(), and isc::process::LoggingInfo::toSpec().
| std::string isc::log::OutputOption::filename |
Filename if file output.
Definition at line 65 of file output_option.h.
Referenced by isc::dhcp::test::LogContentTest::LogContentTest(), isc::log::setDefaultLoggingOutput(), and isc::process::LoggingInfo::toSpec().
| bool isc::log::OutputOption::flush |
true to flush after each message
Definition at line 63 of file output_option.h.
Referenced by isc::process::LoggingInfo::toSpec().
| size_t isc::log::OutputOption::maxsize |
0 if no maximum size
Definition at line 66 of file output_option.h.
Referenced by isc::process::LoggingInfo::toSpec().
| unsigned int isc::log::OutputOption::maxver |
Maximum versions (none if <= 0)
Definition at line 67 of file output_option.h.
Referenced by isc::process::LoggingInfo::toSpec().
| Stream isc::log::OutputOption::stream |
stdout/stderr if console output
Definition at line 62 of file output_option.h.
Referenced by isc::log::setDefaultLoggingOutput(), and isc::process::LoggingInfo::toSpec().