package little_logger
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
On This Page
  
  
  A tiny, little logger <3
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      0.3.0.tar.gz
    
    
        
    
  
  
  
    
  
  
    
  
        md5=7f88c4712e7ac822d7ea67b8a3f182a3
    
    
  sha512=4783cf45aff70ef3d4fc3f3d640d9ca7b99061431ddbd389d319ed2a24b07e251a107b1b0d9f7a8ad62178e7535e97a78b11d072322925b3d81f7149c314ec60
    
    
  Description
Published: 24 Jan 2024
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 🍨
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:
Dev Dependencies (7)
- 
  
    odoc
  
  
    with-doc
- 
  
    re2
  
  
    >= "v0.16" & with-test
- 
  
    ppx_expect
  
  
    >= "v0.16" & with-test
- 
  
    ppx_inline_test
  
  
    >= "v0.16" & with-test
- 
  
    core
  
  
    >= "v0.16" & with-test
- 
  
    bisect_ppx
  
  
    with-test
- 
  
    async
  
  
    >= "v0.16" & with-test
Used by
None
Conflicts
None
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  On This Page