package little_logger
A tiny, little logger <3
Install
Dune Dependency
Authors
Maintainers
Sources
0.1.1.tar.gz
md5=d7fefd0f9925bc1f9106e51b6656f262
sha512=015facc5423acf19ed347e84ca2472c877595df896b387e97a0af04e5b5ff4e14e7840e8f0cc56df3b31b1c86cea7cd3917841bcf2fd0b93c9dfcc5e22d1b939
Description
Published: 20 Aug 2021
README
Little Logger
Little_logger
is a tiny, little logger for OCaml 💖, inspired by the Ruby Std-lib Logger.
Quick start
Print an error message to stderr
.
open Little_logger
let () = Logger.error (fun () -> sprintf "something %s happened" "bad")
(* E, [2021-08-17 17:23:32 #102259] ERROR -- something bad happened *)
For more info, see the docs.
Documentation
The api docs and examples are available on online.
It's quite simple though (< 100 LOC), so check out the source to see exactly how things work 🍨
Benchmarks
For some snazzy fun, head on over to the benchmark directory 🌶
License
Licensed under the Apache License, Version 2.0 or the MIT license, at your option. This program may not be copied, modified, or distributed except according to those terms.
See also
Here are some other lovely OCaml logging libraries that you may be interested in:
And others on Opam
Dependencies (4)
- ppx_compare
-
ocaml
>= "4.08.0"
-
core
>= "v0.12" & < "v0.15"
-
dune
>= "2.8"
Dev Dependencies (11)
-
odoc
with-doc
-
re2
with-test
-
ppx_jane
with-test
-
ppx_sexp_conv
with-test
-
ppx_expect
with-test
-
ppx_inline_test
with-test
-
dolog
dev
-
easy_logging
dev
-
core_bench
>= "v0.12" & dev
-
bisect_ppx
with-test
-
async
with-test
Used by
None
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page