diff options
Diffstat (limited to 'sway/log.c')
-rw-r--r-- | sway/log.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -14,10 +14,10 @@ int colored = 1; | |||
14 | log_importance_t v = L_SILENT; | 14 | log_importance_t v = L_SILENT; |
15 | 15 | ||
16 | static const char *verbosity_colors[] = { | 16 | static const char *verbosity_colors[] = { |
17 | "", // L_SILENT | 17 | [L_SILENT] = "", |
18 | "\x1B[1;31m", // L_ERROR | 18 | [L_ERROR ] = "\x1B[1;31m", |
19 | "\x1B[1;34m", // L_INFO | 19 | [L_INFO ] = "\x1B[1;34m", |
20 | "\x1B[1;30m", // L_DEBUG | 20 | [L_DEBUG ] = "\x1B[1;30m", |
21 | }; | 21 | }; |
22 | 22 | ||
23 | void init_log(log_importance_t verbosity) { | 23 | void init_log(log_importance_t verbosity) { |