diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-04-17 17:31:17 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-04-17 17:31:17 +0000 |
| commit | 353c2f012af8fe0b440387ff20f3b0d032a2fd04 (patch) | |
| tree | 937e6fb3117ba9195a1a491f4833a71c0ae10cf4 /main.c | |
| parent | Merge branch 'sixel-dont-blend-opaque-images' (diff) | |
main: call fcft_log_init(). Note that this requires fcft >= 2.3.90
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -371,6 +371,10 @@ main(int argc, char *const *argv) log_init(log_colorize, as_server && log_syslog, as_server ? LOG_FACILITY_DAEMON : LOG_FACILITY_USER, log_level); + _Static_assert(LOG_CLASS_ERROR + 1 == FCFT_LOG_CLASS_ERROR, + "fixme: fcft log level enum offset"); + fcft_log_init(log_colorize, as_server && log_syslog, log_level + 1); + argc -= optind; argv += optind; |
