Function cln_plugin::logging::init
source · [−]pub async fn init<O>(
out: Arc<Mutex<FramedWrite<O, JsonCodec>>>
) -> Result<(), SetLoggerError> where
O: AsyncWrite + Send + Unpin + 'static, Expand description
Initialize the logger starting a flusher to the passed in sink.