package batteries
A community-maintained standard library extension
Install
Dune Dependency
Authors
Maintainers
Sources
v3.5.1.tar.gz
md5=d3d16ffc960e832a1c0e21b7123194e9
sha512=36c8561079aa9fefc864c2f03bd8ae20aa05987bb67e7a9beac3ab4f440dbf7d44f141c172b05fddb1a5b618fc55a27962bb45fc39bd7b3a15d56e0ed3ff3870
doc/batteries.unthreaded/BatLog/Make/index.html
Module BatLog.Make
Build a logger module with custom, fixed output, prefix and flags
Parameters
Signature
val logf : ?fp:string -> ('a, S.t BatIO.output, unit) Pervasives.format -> 'a
As Printf.printf
, only the message is printed to the logging output and prefixed with status information per the current flags and the currently set prefix.
fatal s
logs the message s
and then calls exit 1
. This exits the program with return code 1.
val fatalf : ?fp:string -> ('a, S.t BatIO.output, unit) Pervasives.format -> 'a
fatalf
allows a format string (as Printf.printf
)and the arguments to that format string to build the logging message. Exits the program with return code 1.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page