diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-11-12 01:01:04 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-11-12 01:01:04 +0100 |
commit | bb7df0da2d14800d4cb871ab07a9d3595990fbad (patch) | |
tree | 247a871c153b044b5b50846ebdff74858aa63c46 /src/log.h | |
parent | 7f4e08056de0184b205a20632e62db73d299937e (diff) |
log: add automatic log target
Diffstat (limited to 'src/log.h')
-rw-r--r-- | src/log.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -34,6 +34,7 @@ typedef enum LogTarget{ LOG_TARGET_KMSG, LOG_TARGET_SYSLOG, LOG_TARGET_SYSLOG_OR_KMSG, + LOG_TARGET_AUTO, /* console if stderr is tty, SYSLOG_OR_KMSG otherwise */ LOG_TARGET_NULL, _LOG_TARGET_MAX, _LOG_TARGET_INVALID = -1 |