Skip to content
carpentry-orgPublic

About

The simplest logging backend to carpentry-org/log

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

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.4")

(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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors