package http_async

  1. Overview
  2. Docs
val 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

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


Innovation. Community. Security.