summaryrefslogtreecommitdiff
path: root/src/shared/logs-show.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-26 16:50:35 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-26 16:56:21 +0200
commit498261871dfa2a930ec84b13a176e3bdc43aa212 (patch)
tree842bc005ca763ddc075ded82b0b74ec80f35d05e /src/shared/logs-show.h
parent46b0d922256b62bc8291951d9868c243ced80c9a (diff)
journalctl: hightlight log lines by priority
warn/notice = bright white < error = red
Diffstat (limited to 'src/shared/logs-show.h')
-rw-r--r--src/shared/logs-show.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/shared/logs-show.h b/src/shared/logs-show.h
index 4e6743254b..58ff9e5760 100644
--- a/src/shared/logs-show.h
+++ b/src/shared/logs-show.h
@@ -39,11 +39,12 @@ typedef enum OutputMode {
} OutputMode;
typedef enum OutputFlags {
- OUTPUT_SHOW_ALL = 1 << 0,
+ OUTPUT_SHOW_ALL = 1 << 0,
OUTPUT_MONOTONIC_MODE = 1 << 1,
- OUTPUT_FOLLOW = 1 << 2,
- OUTPUT_WARN_CUTOFF = 1 << 3,
- OUTPUT_FULL_WIDTH = 1 << 4,
+ OUTPUT_FOLLOW = 1 << 2,
+ OUTPUT_WARN_CUTOFF = 1 << 3,
+ OUTPUT_FULL_WIDTH = 1 << 4,
+ OUTPUT_COLOR = 1 << 5
} OutputFlags;
int output_journal(sd_journal *j, OutputMode mode, unsigned line,