Merge branch 'dev'

This commit is contained in:
Peter Taoussanis 2015-06-08 10:39:37 +07:00
commit 98505648e0
3 changed files with 13 additions and 11 deletions

View File

@ -2,20 +2,20 @@
```clojure
[com.taoensso/timbre "3.4.0"] ; Stable
[com.taoensso/timbre "4.0.0-beta4"] ; BREAKING, please see CHANGELOG for details
[com.taoensso/timbre "4.0.0-RC1"] ; BREAKING, please see CHANGELOG for details
```
# Timbre, a (sane) Clojure/Script logging & profiling library
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
@ -36,7 +36,7 @@ Timbre brings functional, Clojure-y goodness to all your logging needs. It's fas
Add the necessary dependency to your [Leiningen][] `project.clj` and use the supplied ns-import helper:
```clojure
[com.taoensso/timbre "4.0.0-beta4"] ; Add to your project.clj :dependencies
[com.taoensso/timbre "4.0.0-RC1"] ; Add to your project.clj :dependencies
(ns my-clj-ns ; Clj ns => use `:refer`
(:require

View File

@ -1,4 +1,4 @@
(defproject com.taoensso/timbre "4.0.0-beta4"
(defproject com.taoensso/timbre "4.0.0-RC1"
:author "Peter Taoussanis <https://www.taoensso.com>"
:description "Clojure/Script logging & profiling library"
:url "https://github.com/ptaoussanis/timbre"
@ -12,14 +12,14 @@
:dependencies
[[org.clojure/clojure "1.4.0"]
[com.taoensso/encore "1.32.0"]
[com.taoensso/encore "1.36.0"]
[io.aviso/pretty "0.1.18"]]
:plugins
[[lein-pprint "1.1.2"]
[lein-ancient "0.6.7"]
[lein-expectations "0.0.8"]
[lein-autoexpect "1.4.3"]
[lein-autoexpect "1.5.0"]
[codox "0.8.12"]]
:profiles
@ -32,8 +32,8 @@
[org.clojure/tools.logging "0.3.1"]
;; Appender deps
[com.taoensso/nippy "2.9.0-RC2"]
[com.taoensso/carmine "2.10.0"]
[com.taoensso/nippy "2.9.0"]
[com.taoensso/carmine "2.11.1"]
[com.draines/postal "1.11.3"]
[irclj "0.5.0-alpha4"]]}
:dev

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