package async_log
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/Log/For_testing/index.html
Module Log.For_testing
Source
create_output ~map_output
creates a Log.Output.t
which will print only Message.message
to stdout, discarding any information about tags, levels, or timestamps.
map_output
will be applied to each string before printing, and is expected to be used to replace portions of output or identify which log a message came from.
This function is best used with existing Log.ts, e.g. to replace Log.Global's outputs in expect tests. If you just want a full Log.t, see create
below.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>