Commit Graph

158 Commits

Author SHA1 Message Date
Peter Taoussanis 210fe39b37 Add `spy` alias 2013-02-03 01:10:00 +07:00
Peter Taoussanis bbbaf036b5 Fix: `spy` double-evaluation 2013-02-03 01:10:00 +07:00
Peter Taoussanis a7b41a6f2d Add `middleware` dev notes 2013-02-03 00:55:23 +07:00
Peter Taoussanis 3c211afe62 Housekeeping 2013-01-29 16:57:28 +07:00
Peter Taoussanis e4104ef61d Merge branch 'dev' 2013-01-29 16:56:05 +07:00
Peter Taoussanis c6340d9b13 Bump version (1.3.0) 2013-01-29 16:55:25 +07:00
Peter Taoussanis 75778694ff Add `with-default-outs`, `with-err-as-out`, `log-errors`, `log-and-rethrow-errors` 2013-01-29 16:49:42 +07:00
Peter Taoussanis b1d60d1bee Swap `utils/round-to` arg order 2013-01-24 21:58:28 +07:00
Peter Taoussanis 9179e393d7 Merge branch 'dev' 2013-01-04 15:03:40 +07:00
Peter Taoussanis c91d64eca9 Bump version (minor) 2013-01-04 15:03:27 +07:00
Peter Taoussanis 222be9d48e Add `merge-config!` 2013-01-04 14:50:28 +07:00
Peter Taoussanis f23b59119d Update `utils/deep-merge-with` 2013-01-04 14:42:29 +07:00
Peter Taoussanis d8b35e14cc Label stacktraces in output 2013-01-03 23:37:18 +07:00
Peter Taoussanis d13b870799 Add string color utils 2013-01-03 23:37:18 +07:00
Peter Taoussanis 7c81fc58de Fix `config` docstring 2012-12-28 14:12:53 +07:00
Peter Taoussanis f16b00a7e9 Merge branch 'dev' 2012-12-16 19:24:57 +07:00
Peter Taoussanis a1c888ae57 Bump version (minor) 2012-12-16 19:24:07 +07:00
Peter Taoussanis b6b447ca9a Print seconds to 1 decimal place 2012-12-16 19:22:10 +07:00
Peter Taoussanis b07c044004 Distinguish between wall-clock and accounted times 2012-12-16 19:03:11 +07:00
Peter Taoussanis d6bc6b2947 Rename 'total'->'time' 2012-12-16 18:45:01 +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 e26cc71b0e Merge branch 'dev' 2012-11-05 00:18:01 +07:00
Peter Taoussanis ab1dc34e6a Bump version (1.0.0)! 2012-11-05 00:17:48 +07:00
Peter Taoussanis bbc6431fbe Bump dependency (clj-stacktrace 0.2.5) 2012-11-04 23:41:21 +07:00
Peter Taoussanis 32e113ffb6 Housekeeping 2012-11-04 23:41:21 +07:00
Peter Taoussanis dafa9293d5 Merge branch 'dev' 2012-10-26 16:28:47 +07:00
Peter Taoussanis 4b2cae60d3 Bump version (minor) 2012-10-26 16:28:35 +07:00
Peter Taoussanis fc51884472 Refactor valid logging-level checks, support non-const logging levels
The `assert-valid-logging-level` macro had the unfortunate side effect of
preventing the use of runtime-evaluated logging-levels.

To get around this without impacting performance, `assert-valid-logging-level`
has been removed and the validty checking moved to the (memoized) level
comparator.

This is cleaner, more flexible, and no slower.
2012-10-26 16:24:42 +07:00
Peter Taoussanis 074f44f407 README housekeeping 2012-10-26 16:11:05 +07:00
Peter Taoussanis 64693828b8 Merge branch 'dev' 2012-10-19 15:43:23 +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 dc995c10ad Add `utils/deep-merge` 2012-10-19 15:05:24 +07:00
Peter Taoussanis 5750fc7c8b Fix `ap-config` bug 2012-10-19 15:04:42 +07:00
Peter Taoussanis ad2dad1156 Housekeeping 2012-10-19 15:02:35 +07:00
Peter Taoussanis d28429f4f3 Merge branch 'dev': v0.8.1 2012-09-21 21:04:04 +07:00
Peter Taoussanis 1fce815c09 Bump version (minor) 2012-09-21 21:03:23 +07:00
Peter Taoussanis c05b7ca392 Allow explicit naming of `spy` forms 2012-09-21 21:02:58 +07:00
Peter Taoussanis edf2a13817 Housekeeping 2012-09-02 00:02:06 +07:00
Peter Taoussanis 6596919615 Merge pull request #1 from MerelyAPseudonym/patch-1
Fix README typo
2012-08-02 11:22:54 -07:00
MerelyAPseudonym 99a0db6d42 Fix typito
*typito*: _n._ - a tiny typo
2012-08-02 15:00:54 -03:00
Peter Taoussanis 2f52e709e7 Merge branch 'dev': v0.8.0. 2012-07-28 17:08:42 +07: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 f58442f355 BREAKING: Clean up config structure. Add prefix-fn option.
Changes to config structure:
* [:shared-appender-config :timestamp-pattern] -> :timestamp-pattern
* [:shared-appender-config :locale]            -> :timestamp-locale
* Add :prefix-fn

Motivation: timestamp options aren't actually config intended for
appenders. Having them in :shared-appender-config was unnecessarily
confusing.

The addition of :prefix-fn allows full control of prefix strings in a
way that carries over automatically to all appenders. Previously,
adjusting prefix text required modifying appender fns.

Changes to default appenders:
* Drop [:appenders :standard-out]
* [:appenders :standard-out-or-err] -> [:appenders :standard-out]

Motivation: the :standard-out-or-err appender was already the default
anyway, and the presence of the :standard-out appender was just
confusing.
2012-07-26 22:39:21 +07:00
Peter Taoussanis 83c8ff19f7 Add utils ns. Add hostname to default prefix fn. 2012-07-26 15:18:49 +07:00
Peter Taoussanis ba78e67902 CONFIG CHANGE: Bump aggressiveness of Postal appender's default rate-limiter. 2012-07-23 21:10:01 +07:00
Peter Taoussanis 0591e85418 Clean up testing config. 2012-07-23 20:48:49 +07:00