rework logging system
reimplement the old mu-log.[ch] into mu-logging.{cc,hh}
If available (and using an appropriately equipped glib), log to the
systemd journal
Only g_criticals have stderr output, all the other g_* go to the log
file / journal.
This commit is contained in:
@ -49,8 +49,8 @@ libmu_utils_la_SOURCES= \
|
||||
mu-date.c \
|
||||
mu-date.h \
|
||||
mu-error.hh \
|
||||
mu-log.c \
|
||||
mu-log.h \
|
||||
mu-logger.cc \
|
||||
mu-logger.hh \
|
||||
mu-command-parser.cc \
|
||||
mu-command-parser.hh \
|
||||
mu-readline.cc \
|
||||
|
||||
Reference in New Issue
Block a user