package little_logger
Build not checkedInstall
dune-project
Dependency
Authors
Maintainers
Sources
md5=012b7caead6fb818419d224465ed50a3
sha512=4ac1496959f5899e91cd96bb4d540be586937e99c7876dceb789bb0399f9d5a8ceef548b86d8ba3552b48aa798af2e6daf50710bbd404cea18d22cc14572bc0a
Description
Added to opam-repository:
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:
- logs
- easy_logging
- dolog
- And others on Opam
Dev Dependencies (12)
-
odoc
with-doc -
dolog
dev -
easy_logging
dev -
core_bench
>= "v0.12" & dev -
re2
with-test -
ppx_jane
with-test -
ppx_sexp_conv
with-test -
ppx_expect
with-test -
ppx_inline_test
with-test -
core
>= "v0.12" & with-test -
bisect_ppx
with-test -
async
with-test
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building little_logger with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
This version is not in the latest run; the versions below are.
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure