author | Sebastian Harl <sh@tokkee.org> | |
Tue, 10 Dec 2013 18:13:37 +0000 (19:13 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Tue, 10 Dec 2013 18:13:37 +0000 (19:13 +0100) | ||
commit | 44a0aa91ac18582aa7415943dc37d06220576443 | |
tree | 916a96ae03e0e6bf35e4eb1d03cfb096901867f0 | tree | snapshot |
parent | ddb933096618a6bceded29e4dc2b37cb72134366 | commit | diff |
error utils: Make the logger callback configurable.
Don't depend on the plugin module anymore. Rather, add sdb_error_set_logger()
which may be used to set a callback to be used for all logging. Default to
printing to stderr.
sysdbd now uses that to register sdb_plugin_log as logger callback.
Don't depend on the plugin module anymore. Rather, add sdb_error_set_logger()
which may be used to set a callback to be used for all logging. Default to
printing to stderr.
sysdbd now uses that to register sdb_plugin_log as logger callback.
src/daemon/sysdbd.c | diff | blob | history | |
src/include/utils/error.h | diff | blob | history | |
src/utils/error.c | diff | blob | history |