Commit Graph

193 Commits

Author SHA1 Message Date
Peter Taoussanis 9d8c1c0b40 v2.5.0 2013-08-07 12:46:04 +07:00
Peter Taoussanis 37f4d35b07 v2.4.1 2013-07-22 22:41:16 +07:00
Peter Taoussanis b510633f03 Add `refer-timbre` 2013-07-22 17:53:36 +07:00
Peter Taoussanis 07fdddf2f2 NB: Fix v2.3.2 regression 2013-07-21 17:32:18 +07:00
Peter Taoussanis 62ed4086ea Wrap 95109b7 body expansion in `(do)` for hygiene 2013-07-20 22:23:34 +07:00
Peter Taoussanis 7961a8d807 Make `log` an alias for `logp` 2013-07-20 15:15:49 +07:00
Peter Taoussanis 95109b7451 Allow `pspy` to capture time for exception-throwing bodies (thanks Jacek Lach) 2013-07-20 00:39:44 +07:00
Peter Taoussanis ce9ea0ac76 Add `with-log-level` for thread-local logging levels 2013-07-10 13:45:31 +07:00
Peter Taoussanis f5a507765c Add cjwz logo to README 2013-07-09 16:20:38 +07:00
Peter Taoussanis 3a5687a546 Bump version (2.2.0) for pending updates 2013-07-09 16:20:38 +07:00
Peter Taoussanis a3fb7cde78 Bump non-core deps 2013-07-09 13:28:29 +07:00
Peter Taoussanis a5deb8ac2f Add CHANGELOG.md 2013-06-27 19:20:01 +07:00
Peter Taoussanis 634223bdbc Merge branch 'mongo' of github.com:emlyn/timbre into emlyn-mongo 2013-06-27 15:06:08 +07:00
Peter Taoussanis 25cc163c34 Tweak README 2013-06-22 17:43:56 +07:00
Peter Taoussanis f3d704bc45 Merge pull request #18 from emlyn/socket
TCP Socket Appender (emlyn)
2013-06-14 20:37:42 -07:00
Peter Taoussanis 71218f7086 Allow no-message throwable logging, use `str` for ex-data printing 2013-06-07 20:45:33 +07:00
Peter Taoussanis 5d4e5f2739 Fix ex-data separator 2013-06-07 20:22:00 +07:00
Peter Taoussanis 092f3b7925 Bump version (2.1.0) 2013-06-07 20:16:15 +07:00
Emlyn Corrin 9741aaa92d Improve README 2013-06-06 12:40:50 +01:00
Emlyn Corrin f802ede826 Simplify README 2013-06-05 18:24:28 +01:00
Emlyn Corrin e5852a6676 Cleanup 2013-06-05 14:28:18 +01:00
Peter Taoussanis f1d2d89713 Bump version (2.0.1) 2013-06-05 20:16:52 +07:00
Emlyn Corrin 0613ae66bb Cleanup 2013-06-05 14:03:04 +01:00
Emlyn Corrin 6dac0ec03e Add socket appender 2013-06-05 13:52:23 +01:00
Emlyn Corrin fff4a85b5d Add MongoDB appender 2013-06-05 13:06:11 +01:00
Peter Taoussanis 1039912094 README typo 2013-06-01 20:08:45 +07:00
Peter Taoussanis 3a94e550c7 Refresh README 2013-06-01 19:44:32 +07:00
Peter Taoussanis 43434921a3 Bump version (2.0.0) 2013-06-01 19:31:51 +07:00
Peter Taoussanis e59918b59f Bump version (2.0.0-SNAPSHOT) 2013-06-01 19:31:21 +07:00
Peter Taoussanis 7b09d1a562 BREAKING: Refactor Timbre for integration with clojure.tools.logging & logf macros
BREAKING CHANGES:
* Custom appenders that rely on the :more argument will no longer function correctly.
* Stacktraces are no longer automatically generated at the `log`-macro level, but are
left as an appender implementation detail. A :throwable appender argument has been added
along with a `stacktrace` fn.

MIGRATION GUIDE:
* :message is now a string of all arguments as joined by `logp`/`logf`. Appenders that
need unjoined logging arguments (i.e. raw arguments as given to `logp`/`logf`) should
use the new :log-args vector.

MOTIVATION:
The :more argument was always kind of manky.

By joining logging arguments at the `log`-macro level, we simplify appender
implementations and allow the use of different joining strategies like `logp` and
`logf`.

This approach also fits better with the `tools.logging` API, allowing a cleaner
Logger implementation.
2013-06-01 19:29:57 +07:00
Peter Taoussanis 6fc6baee37 Rename appender argument: :max-message-per-msecs -> :limit-per-msecs (backwards compatible) 2013-06-01 19:29:57 +07:00
Peter Taoussanis c30ae5fbcc Housekeeping 2013-06-01 19:29:57 +07:00
Peter Taoussanis 7c29ce6852 Clean up appender documentation 2013-06-01 19:29:57 +07:00
Peter Taoussanis 6c0ac295f4 Bump version (1.6.0) 2013-04-22 22:24:45 +07:00
Emlyn Corrin 3eee832a63 Replace deleted space for nicer diff 2013-04-19 14:33:55 +01:00
Emlyn Corrin 48f8329dbb Add IRC appender 2013-04-19 14:28:02 +01:00
Peter Taoussanis fdacde069a Bump version (1.5.3) 2013-04-14 16:30:55 +07:00
Peter Taoussanis 5864673b47 Housekeeping 2013-03-16 14:30:05 +07:00
Peter Taoussanis 114e35d93c Bump version (1.5.2) 2013-02-11 11:47:59 +07:00
Peter Taoussanis 766a3d61b0 Bump version (1.5.1) 2013-02-08 14:22:08 +07:00
Peter Taoussanis ba172dfc21 Bump version (1.5.0) 2013-02-07 18:51:28 +07:00
Peter Taoussanis 4c76cd99e5 Bump version (1.4.0) 2013-02-05 20:05:49 +07:00
Peter Taoussanis 4184491719 Add middleware support, refactor appender decoration
* Appenders are now decorated via 2 separate mechanisms: a per-appender
  decorator (as before), and a new per-juxt (i.e. combined) decorator.
  The per-juxt wrapping provides a performance-conscious hook for
  higher-level facilities like the new middleware feature.

* Moved compile-time config wrapping from per-appender to per-juxt,
  improving performance.

* Fixed appender wrapper ordering.
2013-02-05 20:05:42 +07:00
Peter Taoussanis 13c148e992 Bump version (1.3.1) 2013-02-03 01:10:31 +07:00
Peter Taoussanis c6340d9b13 Bump version (1.3.0) 2013-01-29 16:55:25 +07:00
Peter Taoussanis c91d64eca9 Bump version (minor) 2013-01-04 15:03:27 +07:00
Peter Taoussanis a1c888ae57 Bump version (minor) 2012-12-16 19:24:07 +07:00
Peter Taoussanis 2c6230dfa8 Update contact details (taoensso.com) 2012-12-06 16:41:09 +07:00
Peter Taoussanis cd023eb3d6 README MD fix 2012-11-06 12:01:07 +07:00
Peter Taoussanis 59753f8e01 Add CDS note to README 2012-11-06 00:48:42 +07:00
Peter Taoussanis ab1dc34e6a Bump version (1.0.0)! 2012-11-05 00:17:48 +07:00
Peter Taoussanis 32e113ffb6 Housekeeping 2012-11-04 23:41:21 +07:00
Peter Taoussanis 4b2cae60d3 Bump version (minor) 2012-10-26 16:28:35 +07:00
Peter Taoussanis 074f44f407 README housekeeping 2012-10-26 16:11:05 +07:00
Peter Taoussanis 734d598363 Bump version (minor) 2012-10-19 15:26:54 +07:00
Peter Taoussanis 92e31c7b7c Add simple file spit appender 2012-10-19 15:26:54 +07:00
Peter Taoussanis ad2dad1156 Housekeeping 2012-10-19 15:02:35 +07:00
Peter Taoussanis 1fce815c09 Bump version (minor) 2012-09-21 21:03:23 +07:00
MerelyAPseudonym 99a0db6d42 Fix typito
*typito*: _n._ - a tiny typo
2012-08-02 15:00:54 -03:00
Peter Taoussanis d5221f184e Update REAMDE for v0.8.0 changes. 2012-07-28 17:07:13 +07:00
Peter Taoussanis a0c6b03359 Bump version (major). 2012-07-26 22:39:21 +07:00
Peter Taoussanis bfa33a7e8e Merge branch 'dev': v0.7.0. 2012-07-13 18:12:44 +07:00
Peter Taoussanis c1c34be596 Added 'breaking changes' to README. 2012-07-13 18:08:25 +07:00
Peter Taoussanis cca1141c7f BREAKING: Moved Postal appender to own ns and no longer automatically include Postal as dependency.
All future appenders that depend on an external library will follow this pattern, allowing the
flexibility to add more diverse appenders without the worry of bloating Timbre core or Timbre's
dependencies.

See updated README example for how to include standard email appender.
2012-07-13 17:32:23 +07:00
Peter Taoussanis 7844eea6c9 README housekeeping. 2012-07-07 20:19:35 +07:00
Peter Taoussanis df0d26efde README typo (spotted by Steve Miner). 2012-07-07 20:19:10 +07:00
Peter Taoussanis c1d9442ec2 Merge branch 'dev': v0.6.1. 2012-07-05 16:49:54 +07:00
Peter Taoussanis 404d2ab886 Added note about changed repo+ns. 2012-07-05 16:39:48 +07:00
Peter Taoussanis 19f7b898e3 Added Mean Absolute Deviation (MAD) times to profiling output. Misc housekeeping. 2012-07-05 16:39:44 +07:00
Peter Taoussanis 2aa9d4d83f Merge branch 'dev': v0.6.0. 2012-07-03 21:22:44 +07:00
Peter Taoussanis 123f3c51d9 Added unaccounted-for timer. Fixed bug with :mean overflow. 2012-07-03 21:16:07 +07:00
Peter Taoussanis 0cb368a0d9 Updated README. Fixed profiler typos. Some other housekeeping. 2012-07-03 19:46:05 +07:00
Peter Taoussanis d9a68f1e58 README tweaks. 2012-07-03 16:30:50 +07:00
Peter Taoussanis 7ce65ed924 Merge branch 'dev' 2012-07-01 18:12:32 +07:00
Peter Taoussanis 3b68744322 Pushed v0.5.1.
* Added note to README about new Clojars group.

Signed-off-by: Peter Taoussanis <ptaoussanis@gmail.com>
2012-06-29 14:13:28 +07:00
Peter Taoussanis cc58ac0025 Moved to new Maven group artifact. 2012-06-27 19:08:07 +07:00
Peter Taoussanis fe65311a0a Tweaked CLJWS section of README. 2012-06-20 17:53:06 +07:00
Peter Taoussanis 5a2b013db0 README tweak. 2012-06-16 22:37:51 +07:00
Peter Taoussanis daeb4d4a9b Added ClojureWerkz section to README. 2012-06-16 13:53:38 +07:00
Peter Taoussanis c011e74e23 Added Travis status image to README. 2012-06-12 22:09:31 +07:00
Peter Taoussanis 5f1862a334 A few minor superficial tweaks.
* Updated .gitignore
* Added copyright info to README.
* Added Clojure 1.3 dependency to project.clj.
* Cleaned up some arg names in core.clj.

Signed-off-by: Peter Taoussanis <p.taoussanis@gmail.com>
2012-06-12 22:02:24 +07:00
Peter Taoussanis 2c16d6783c Simplified appender timestamp args. Improved performance.
* Removed 'timestamp-fn' from appender args and replaced with ready-formatted 'timestamp' for simpler appender writing.
* Fixed appender wrapping function bug that was unnecessarily recomputing shared args and timestamp function at runtime.

Signed-off-by: Peter Taoussanis <p.taoussanis@gmail.com>
2012-05-31 00:05:36 +07:00
Peter Taoussanis fe7e69bf92 Minor breaking: renamed 2 "instant" keys
* instant-pattern -> timestamp-pattern
* instant-formatter -> timestamp-fn

Also:
* Updated README.
* A few formatting tweaks.

Signed-off-by: Peter Taoussanis <p.taoussanis@gmail.com>
2012-05-30 20:07:34 +07:00
Peter Taoussanis dde1b89b03 Added time-format and locale shared-config options.
* Also updated README.

Signed-off-by: Peter Taoussanis <p.taoussanis@gmail.com>
2012-05-30 16:15:15 +07:00
Peter Taoussanis 5fbbe9bfb5 Improved appender-fn example in README.
Signed-off-by: Peter Taoussanis <p.taoussanis@gmail.com>
2012-05-30 13:47:53 +07:00
Peter Taoussanis 26d9f6fb14 Superficial email address tweak. 2012-05-30 12:52:09 +07:00
Peter Taoussanis 78218b9f1c README example typo.
Signed-off-by: Peter Taoussanis <p.taoussanis@gmail.com>
2012-05-28 20:25:25 +07:00
Peter Taoussanis 244749a3e2 Added set-config!, set-level! as per suggestion by Jonathan Fischer Friberg
Signed-off-by: Peter Taoussanis <p.taoussanis@gmail.com>
2012-05-28 20:17:38 +07:00
Peter Taoussanis 602d527f39 Minor README tweaks.
Signed-off-by: Peter Taoussanis <p.taoussanis@gmail.com>
2012-05-28 18:22:23 +07:00
Peter Taoussanis d7ae06fec6 Minor README tweaks.
Signed-off-by: Peter Taoussanis <p.taoussanis@gmail.com>
2012-05-28 17:57:23 +07:00
Peter Taoussanis dbdf4d9fe1 Initial README examples.
Signed-off-by: Peter Taoussanis <p.taoussanis@gmail.com>
2012-05-28 17:49:54 +07:00
Peter Taoussanis d74de51a05 Initial commit.
* Working library.
* Basic README.

Signed-off-by: Peter Taoussanis <p.taoussanis@gmail.com>
2012-05-28 15:13:11 +07:00
Peter Taoussanis 17b82085f9 Initial commit 2012-05-27 23:22:02 -07:00