setup cdbus_log when logging to stdout too
This commit is contained in:
parent
e88d2014ba
commit
7287ed8733
|
@ -156,6 +156,12 @@ void ladish_log_uninit()
|
|||
|
||||
free(g_log_filename);
|
||||
}
|
||||
#else
|
||||
void ladish_log_init() __attribute__ ((constructor));
|
||||
void ladish_log_init()
|
||||
{
|
||||
cdbus_log_setup(ladish_log);
|
||||
}
|
||||
#endif /* #if !defined(LOG_OUTPUT_STDOUT) */
|
||||
|
||||
#if 0
|
||||
|
|
Loading…
Reference in New Issue