diff options
author | Sen Jiang <senj@google.com> | 2018-08-14 15:50:13 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-08-14 15:50:13 -0700 |
commit | 012ffab4353ed5f1970e03203c0ebe07128803f1 (patch) | |
tree | 279e9e692e3a7db704f65e6d3977e43e8e75b46a /brillo/syslog_logging.h | |
parent | 5d78951d5bc7bad54082b1083c2dc7f3b9fae89d (diff) | |
parent | 02903ef05eeace7afcd50207b7bd04a6ec7391e0 (diff) | |
download | platform_external_libbrillo-012ffab4353ed5f1970e03203c0ebe07128803f1.tar.gz platform_external_libbrillo-012ffab4353ed5f1970e03203c0ebe07128803f1.tar.bz2 platform_external_libbrillo-012ffab4353ed5f1970e03203c0ebe07128803f1.zip |
Merge remote-tracking branch 'aosp/upstream-master' into aosp/master. am: 0fa01c38cc
am: 02903ef05e
Change-Id: I19f3bf81b582b791fc7f8cd05b86d3faf1752be1
Diffstat (limited to 'brillo/syslog_logging.h')
-rw-r--r-- | brillo/syslog_logging.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/brillo/syslog_logging.h b/brillo/syslog_logging.h index b054259..04b3253 100644 --- a/brillo/syslog_logging.h +++ b/brillo/syslog_logging.h @@ -12,9 +12,14 @@ namespace brillo { enum InitFlags { + // Always log to syslog. kLogToSyslog = 1, + // Always log to stderr. kLogToStderr = 2, + // Include message header in log lines. kLogHeader = 4, + // Log to stderr if stdin is a tty (e.g. command line). + kLogToStderrIfTty = 8, }; // Initialize logging subsystem. |init_flags| is a bitfield, with bits defined |