pub fn log_set_writer_func<P: Fn(LogLevel, &[LogField<'_>]) -> LogWriterOutput + Send + Sync + 'static>(
    writer_func: P
)