README hk

This commit is contained in:
Peter Taoussanis 2015-06-08 10:21:43 +07:00
parent 4d898e19b1
commit cb51b0e393
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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))))