This commit is contained in:
Peter Taoussanis 2016-06-10 11:43:44 +07:00
parent ed88597356
commit 606562cdcd
5 changed files with 23 additions and 4 deletions

View File

@ -1,5 +1,21 @@
> This project uses [Break Versioning](https://github.com/ptaoussanis/encore/blob/master/BREAK-VERSIONING.md) as of **Aug 16, 2014**. > This project uses [Break Versioning](https://github.com/ptaoussanis/encore/blob/master/BREAK-VERSIONING.md) as of **Aug 16, 2014**.
## v4.4.0 / 2016 Jun 10
```clojure
[com.taoensso/timbre "4.4.0"]
```
> This is a **major, non-breaking release**, enjoy :-)
* **New**: Add support for appender-level ns filters [#171]
* **New**: Add 3rd-party logstash appender [#166 @dfrese]
* **New**: Add PostgreSQL appender [#160 @yuliu-mdsol]
* **New**: Add Slack appender [#159 @sbelak]
* **Fix**: Make rotor appender thread-safe [#168 @mikesperber]
* **Fix**: Don't cache cljs console appender's `js/console` [#165]
* **Fix**: Fix surprising `merge-config` nil behaviour [#163]
## v4.3.1 / 2016 Feb 28 ## v4.3.1 / 2016 Feb 28
* **Hotfix**: had a removed var in the profiling macro * **Hotfix**: had a removed var in the profiling macro

View File

@ -5,7 +5,7 @@
**[CHANGELOG]** | [API] | current [Break Version]: **[CHANGELOG]** | [API] | current [Break Version]:
```clojure ```clojure
[com.taoensso/timbre "4.3.1"] ; Stable [com.taoensso/timbre "4.4.0"] ; Stable
``` ```
Want to help [support taoensso/open-source]? Want to help [support taoensso/open-source]?
@ -45,7 +45,7 @@ Your link here? | **PR's welcome!**
Add the necessary dependency to your project: Add the necessary dependency to your project:
```clojure ```clojure
[com.taoensso/timbre "4.3.1"] [com.taoensso/timbre "4.4.0"]
``` ```
And setup your namespace imports: And setup your namespace imports:
@ -125,6 +125,8 @@ This is the biggest win over Java logging IMO. **All** of Timbre's behaviour is
:rate-limit ; [[ncalls-limit window-ms] <...>], or nil :rate-limit ; [[ncalls-limit window-ms] <...>], or nil
:output-fn ; Optional override for inherited (fn [data]) -> string :output-fn ; Optional override for inherited (fn [data]) -> string
:fn ; (fn [data]) -> side effects, with keys described below :fn ; (fn [data]) -> side effects, with keys described below
:ns-whitelist ; Optional, stacks with active config's whitelist
:ns-blacklist ; Optional, stacks with active config's blacklist
An appender's fn takes a single data map with keys: An appender's fn takes a single data map with keys:
:config ; Entire config map (this map, etc.) :config ; Entire config map (this map, etc.)

View File

@ -1,4 +1,4 @@
(defproject com.taoensso/timbre "4.3.1" (defproject com.taoensso/timbre "4.4.0"
:author "Peter Taoussanis <https://www.taoensso.com>" :author "Peter Taoussanis <https://www.taoensso.com>"
:description "Pure Clojure/Script logging library" :description "Pure Clojure/Script logging library"
:url "https://github.com/ptaoussanis/timbre" :url "https://github.com/ptaoussanis/timbre"

View File

@ -1,6 +1,6 @@
(ns taoensso.timbre (ns taoensso.timbre
"Simple, flexible logging for Clojure/Script. No XML." "Simple, flexible logging for Clojure/Script. No XML."
{:author "Peter Taoussanis"} {:author "Peter Taoussanis (@ptaoussanis)"}
#+clj #+clj
(:require (:require
[clojure.string :as str] [clojure.string :as str]

View File

@ -7,6 +7,7 @@
https://github.com/swaldman/c3p0" https://github.com/swaldman/c3p0"
{:author "TODO Your Name (@your-github-username)"} {:author "TODO Your Name (@your-github-username)"}
(:require (:require
[taoensso.encore :as enc]
[taoensso.timbre :as timbre])) [taoensso.timbre :as timbre]))
;; TODO If you add any special ns imports above, please remember to update ;; TODO If you add any special ns imports above, please remember to update