Commit Graph

573 Commits

Author SHA1 Message Date
Peter Taoussanis 087a5d9761 CLJ1098 was fixed with Clojure 1.5 (our min) 2016-03-02 12:47:27 +07:00
Peter Taoussanis 1c23146979 v4.3.1 2016-02-28 12:12:17 +07:00
Peter Taoussanis 10c5ebc426 [#157] Hotfix: profile macro refering to removed var 2016-02-28 12:07:36 +07:00
Peter Taoussanis 551b1e9dbf Clarify README example [#156] 2016-02-27 09:30:52 +07:00
Peter Taoussanis d65766f293 v4.3.0 2016-02-26 15:32:50 +07:00
Peter Taoussanis 46376869be Misc hk 2016-02-26 15:32:49 +07:00
Peter Taoussanis 36785d6871 Some (limited) manual help against CLJ-865 [#132]
This is a bit of a pita (and still doesn't solve issues when user
adds logging calls w/in her own macros); but it's better than nothing
while we wait on some kind of resolution to CLJ-865.
2016-02-26 15:32:49 +07:00
Peter Taoussanis a3d52f5594 Refactor console logger, incl. Ref from #132
This lets folks more easily use Chrome blackboxing but it'd still be
nice to get a proper general-case line number solution.

Seems like our options are:
  1. Waiting on CLJ-865 (which'd still leave us w/o accurate source
     map links?).
  2. Something like https://gist.github.com/bgrins/5108712 (doesn't
     seem possible if we want a more elaborate wrapper?)
  3. Other ideas??
2016-02-26 15:32:49 +07:00
Peter Taoussanis 7da33216a1 Bump deps 2016-02-26 15:32:49 +07:00
Peter Taoussanis fd0553df0d Housekeeping for [#151] 2016-02-26 15:32:49 +07:00
Dom Kiva-Meyer eefad451d7 [#151] Allow compile-time log level to be set with system property
This is useful since it allows one to dynamically set the log level
prior to ClojureScript compilation. Specifically, I would like to
use this inside of a Boot task.
2016-02-26 15:32:49 +07:00
Peter Taoussanis acf9ee8563 README housekeeping 2016-02-26 15:32:49 +07:00
Peter Taoussanis 542d76ae23 v4.3.0-RC1 2016-01-27 13:25:36 +07:00
Peter Taoussanis db8f8a8759 Refactor manual hashing control (fully back-compatible)
Hashing is still done on a data level as before (with arb data-hash-fn);
difference is that {:timbre/hash _} arg0 support is now baked in to core
logging impl. rather than just the default data hash fn.

Effect: a new `:?hash-arg` is now provided as part of core data and will
be available to any data-hash-fns.

New implementation is also cleaner + faster.
2016-01-27 13:17:10 +07:00
Peter Taoussanis a8505032cb Bump deps 2016-01-27 10:22:33 +07:00
Peter Taoussanis e9e20ef88e Expose an official low-level logging API for tools, etc. 2016-01-27 10:21:57 +07:00
Peter Taoussanis e611f7a584 Perf: `rsome` for hash fn 2016-01-27 10:21:57 +07:00
Peter Taoussanis a26ecc6a96 Protect appenders from delay replacement through middleware
- This simplifies the requirements for appender authors.
  - Note that middleware authors still need to be careful since
    it'd be infeasible to offer similar protection between each
    individual layer of middleware.
2016-01-27 10:21:57 +07:00
Peter Taoussanis f8a83fd798 Housekeeping for #147 2016-01-23 13:55:24 +07:00
Dave Owens df96b2ba58 [#147] Add gelf appender (@davewo)
Add third-party appender to support sending gelf messages to a logging server (such as Graylog)
2016-01-23 13:44:25 +07:00
Peter Taoussanis d132d443e5 README tweaks 2016-01-23 13:44:24 +07:00
Peter Taoussanis a9874fbccd Update README template 2016-01-14 12:24:51 +07:00
Peter Taoussanis 560fc46870 v4.2.1 2016-01-14 12:19:53 +07:00
Peter Taoussanis 41b4a5dd75 Bump deps 2016-01-14 12:19:53 +07:00
Peter Taoussanis 8271ba9a0b [#146] Fix executor type ambiguity with Clojure 1.6?
Having difficulty reproducing the error described by the GitHub issue.

Figure the cause might have something to do with attaching the type info
to the (fn []) form? The approach as of this commit seems like it'd be
less likely to trip up the compiler.
2016-01-14 12:19:53 +07:00
Peter Taoussanis d08b0bd174 v4.2.0 2015-12-27 10:12:27 +07:00
Peter Taoussanis e48dea517e Use encore `get-env` impln 2015-12-27 09:58:52 +07:00
Peter Taoussanis 663f1a754e Bump deps 2015-12-27 09:58:52 +07:00
Peter Taoussanis b09d5611a6 `get-env`: clear primitive (tag) sym metadata 2015-12-27 09:58:52 +07:00
Peter Taoussanis d913721865 [#133] Faster + more flexible str joins (Clojure 1.7+)
Needs transducers, otherwise falls back to the old method.
2015-12-27 09:58:50 +07:00
Peter Taoussanis aadfd929ee Experimental: compile-time p elision 2015-12-27 09:58:37 +07:00
Peter Taoussanis 7d12f0bcad Drop Expectations dep 2015-12-27 09:58:37 +07:00
Peter Taoussanis 64a40e0228 Bump deps (incl. breaking codox bump) 2015-12-27 09:58:36 +07:00
Peter Taoussanis 44a3798c93 Offload date formatting shorthands to encore 2015-12-27 09:58:15 +07:00
Peter Taoussanis 47cf2121f6 [#141] Housekeeping 2015-12-27 09:58:01 +07:00
Ryan Fowler d59d902611 [#141] Use java.util.concurrent.ExecutorService/submit instead of `future` (@ryfow)
(future) starts the agent threadpool, which slows down shutdown unless
(shutdown-agents) is called.
2015-12-27 09:58:01 +07:00
Dan Sapala ffe66948c6 [#140] Create log path in rotor appender (@dsapala) 2015-12-27 09:58:00 +07:00
Russell e61fabf0d6 [#137] Add &args support to `swap-config!` (@rsslldnphy) 2015-12-27 09:58:00 +07:00
Peter Taoussanis 7c3afe499b [#135] Default yy-MMM-dd -> yy-MM-dd pattern (sortable) 2015-12-27 09:58:00 +07:00
Peter Taoussanis 12efc4beb3 [#135] Switch default timestamp timezone to UTC, add some shorthands 2015-12-27 09:58:00 +07:00
Peter Taoussanis 08f92dc205 v4.1.5 2015-12-27 09:51:42 +07:00
Peter Taoussanis 936a8c6685 [#145] Bump encore dep 2015-12-27 09:48:19 +07:00
Peter Taoussanis 17e70a0889 README: update 3rd-party links table 2015-12-22 13:17:13 +07:00
Farid Zakaria 32e71f22a8 [#134] Add README link to slf4j-timbre (@fzakaria) 2015-12-15 11:03:04 +07:00
Peter Taoussanis afe6dd3a63 v4.1.4 2015-09-30 17:14:14 +07:00
Peter Taoussanis 69edc76778 Hotfix: fix broken Clojure 1.5 support, roll back dep upgrade
Ref. https://github.com/AvisoNovate/pretty/issues/35
2015-09-30 17:13:40 +07:00
Peter Taoussanis fa8558be98 Housekeeping for 1148440 2015-09-28 19:07:04 +07:00
ken restivo 1148440d61 [#130] README: add note re: how to turn off default Ansi colours (@kenrestivo) 2015-09-28 18:59:22 +07:00
Peter Taoussanis 10690f5731 v4.1.2 2015-09-26 12:24:40 +07:00
Peter Taoussanis 2abc1dd3d3 [#67] Add (deprecated) `logp` macro back from v3.x 2015-09-26 12:15:19 +07:00