mirror of https://github.com/status-im/timbre.git
README hk
This commit is contained in:
parent
4d898e19b1
commit
cb51b0e393
|
@ -9,13 +9,13 @@
|
|||
|
||||
Java logging is a tragic comedy of crazy, unnecessary complexity that buys you _nothing_. It can be maddeningly, unnecessarily hard to get even the simplest logging working. We can do **so** much better with Clojure/Script.
|
||||
|
||||
Timbre brings functional, Clojure-y goodness to all your logging needs. It's fast, deeply flexible, and easy to configure. **No XML**!
|
||||
Timbre brings functional, Clojure-y goodness to all your logging needs. It's fast, deeply flexible, and easy to configure. **No XML**, **works out-the-box**!
|
||||
|
||||
## What's in the box™?
|
||||
* Full **Clojure** + **ClojureScript** support (v4+)
|
||||
* No XML or properties files. **One config map**, and you're set
|
||||
* No XML or properties files. **A single, simple config map**, and you're set
|
||||
* Deeply flexible **fn appender model** with **middleware**
|
||||
* **Fantastic performance** at any scale
|
||||
* **Great performance** at any scale
|
||||
* Filter logging by levels and **namespace whitelist/blacklist patterns**
|
||||
* **Zero overhead** with **complete Clj+Cljs elision** for compile-time level/ns filters
|
||||
* Useful built-in appenders for **out-the-box** Clj+Cljs logging
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
(:require [zeromq.zmq :as zmq]
|
||||
[taoensso.timbre :as timbre]))
|
||||
|
||||
;; TODO Test port to Timbre v4
|
||||
|
||||
(defn make-zmq-socket [context transport address port]
|
||||
(doto (zmq/socket context :push)
|
||||
(zmq/connect (format "%s://%s:%d" transport address port))))
|
||||
|
|
Loading…
Reference in New Issue