Liking cljdoc? Tell your friends :D

Changes and TODO

TODO

  • [TODO] Split codec and context API into separate namespaces
    • Maybe modularize them by putting into separate repos

0.8.1 / 2017-February-17

  • Avoid NullPointerException when setting nil logging context

0.8.0 / 2017-January-17

  • Add abstract type for mutable context updates
  • [BREAKING CHANGE] Drop API for conditional update of logging context
  • Add arity to fns dealing with context to work with custom context holders
  • Bump SLF4j-API dependency version to 1.7.22

0.7.0 / 2016-September-29

  • Make cambium.core/merge-logging-context! overridable (likely with a nesting-aware version)
  • Make cambium.core/context-val overridable (likely with a nesting-aware version)
  • [BREAKING CHANGE] Remove parallel cambium.core API from cambium.nested namespace
  • [BREAKING CHANGE] Move nesting-aware, add-on functionality to the cambium.nested namespace
  • Validate arguments of logging calls for invalid literal types
  • Consider nil MDC attribute value as a deletion request; remove from MDC while merging

0.6.1 / 2016-September-19

  • Add missing deflogger to the cambium.nested namespace with nested MDC support

0.6.0 / 2016-September-18

  • [BREAKING CHANGE] Move nested-context API from namespace cambium.core to cambium.nested
    • Drop cambium.core/merge-nested-context! (moved to cambium.nested/merge-logging-context!)
    • Drop cambium.core/with-nested-context (moved to cambium.nested/with-logging-context)
    • Now cambium.core/context-val no more treats a collection as a nested path
  • Add API with nested-context support to the cambium.nested namespace
    • merge-logging-context!
    • with-logging-context
    • wrap-logging-context
    • context-val
    • log, trace, debug, info, warn, error, fatal

0.5.0 / 2016-September-07

  • Support for nested MDC
    • Make cambium.core/context-val support both top-level keys and key path for nested structures
    • Add cambium.core/merge-nested-context! to merge 'potentially nested' context map into current MDC
    • Add cambium.core/with-nested-context to evaluate body of code with 'potentially nested' MDC
    • Add cambium.core/wrap-nested-context to wrap a function with 'potentially nested' MDC
  • BREAKING CHANGE: Rename cambium.core/set-logging-context! to cambium.core/merge-logging-context!

0.4.0 / 2016-May-27

  • Support for propagating raw and value based MDC across contexts

0.3.4 / 2016-May-14

  • Bump SLF4j-API dependency version to 1.7.21
  • Fix cambium.core/get-context to deserialize MDC values before returning

0.3.3 / 2016-May-13

  • MDC string values deserialized back to original using cambium.core/destringify-val (can be redefined)
  • Use function cambium.core/destringify-val when obtaining context values

0.3.2 / 2016-March-10

  • Use function cambium.core/stringify-key to convert MDC key to string (can be redefined)

0.3.1 / 2016-March-10

  • Allow redefinition of cambium.core/stringify-val even when Clojure 1.8+ direct-linking is enabled

0.3.0 / 2016-March-09

  • Bump SLF4j-API dependency version to 1.7.18
  • String conversion of MDC values is now via cambium.core/stringify-val (can be updated to suit needs)
  • Helper functions cambium.core/encode-val and cambium.core/decode-val to handle type-safe encoding

0.2.0 / 2015-December-12

  • Bump SLF4j-API dependency version to 1.7.13
  • Support for reading context values

0.1.0 / 2015-November-26

  • Logging operations that piggyback on clojure/tools.logging
    • Namespace based loggers: trace, debug, info, warn, error, fatal
  • Mapped Diagnostic Context (MDC) support via SLF4j
  • Support for defining custom loggers

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close