forked from external/yambar
log: fold long line
This commit is contained in:
parent
52e0b5f3d1
commit
4fea561c6c
1 changed files with 3 additions and 1 deletions
4
log.c
4
log.c
|
@ -40,7 +40,9 @@ log_init(enum log_colorize _colorize, bool _do_syslog,
|
|||
[LOG_FACILITY_DAEMON] = LOG_DAEMON,
|
||||
};
|
||||
|
||||
colorize = _colorize == LOG_COLORIZE_NEVER ? false : _colorize == LOG_COLORIZE_ALWAYS ? true : isatty(STDERR_FILENO);
|
||||
colorize = _colorize == LOG_COLORIZE_NEVER
|
||||
? false : _colorize == LOG_COLORIZE_ALWAYS
|
||||
? true : isatty(STDERR_FILENO);
|
||||
do_syslog = _do_syslog;
|
||||
log_level = _log_level;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue