Skip to content

carpentry-org/simplelog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

simplelog

The simplest logging backend for log that exists. Prints either to stdout or to stderr, depending on the log level.

Example

(load "git@github.com:carpentry-org/simplelog@0.0.3")

(defn main []
  (do
    (SimpleLog.install Log.DEBUG)
    (Log.trace "hi") ; will not be printed
    (Log.debug "hi again") ; will be printed to stdout
    (Log.warn "oops") ; will be printed to stderr
  )
)

Have fun!

About

The simplest logging backend to carpentry-org/log

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors