package async_log

  1. Overview
  2. Docs
Logging library built on top of Async_unix

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=2dae248d74c23aa6a1e0bc38d5b34c975eb4dfbdf32f0970641b5befd8385720

doc/async_log.kernel/Async_log_kernel/Global/For_testing/index.html

Module Global.For_testingSource

Sourceval use_test_output : ?map_output:(string -> string) -> unit -> unit

Change the output of the global log so that it only prints the bodies of messages to stdout, discarding any information about tags, levels, or timestamps. map_output can be used to transform messages before they make it to stdout; by default it is Fn.id.

This is equivalent to: Log.Global.set_output [ Log.For_testing.create_output ~map_output ]

OCaml

Innovation. Community. Security.