static YAZ_MUTEX log_mutex = 0;
-static void yaz_log_lock(void)
+void yaz_log_lock(void)
{
yaz_mutex_enter(log_mutex);
}
-static void yaz_log_unlock(void)
+void yaz_log_unlock(void)
{
yaz_mutex_leave(log_mutex);
}
{
yaz_log_close();
yaz_log_info.log_file = new_file;
- if (l_level & YLOG_FLUSH)
- setvbuf(yaz_log_info.log_file, 0, _IONBF, 0);
}
else
{