Liking cljdoc? Tell your friends :D

tlog

A tiny log library for Clojure

usage

In your project.clj file, add: Clojars Project

In your clojure files, require it: (require '[tlog.core :as log])

api functions

  • log
  • logf
  • trace
  • debug
  • info
  • notice
  • warn
  • error
  • fatal
  • tracef
  • debugf
  • infof
  • noticef
  • warnf
  • errorf
  • fatalf
  • set-limit!

example

(log/set-limit! :debug) ; any keyword from [:trace :debug :info :notice :warn :error :fatal]
(log/debug "hello world")
(log/debugf "hello %s" "world")

Can you improve this documentation? These fine people already did:
carlzhc & zhangcar
Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close