{"repo":"40ants/log4cl-extras","free":true,"listed":false,"github":"https://github.com/40ants/log4cl-extras","clone":"git clone https://github.com/40ants/log4cl-extras.git","description":"A few addons for log4cl Common Lisp logging library.","language":"Common Lisp","stars":15,"topics":["common-lisp","logging"],"license":null,"category":"analytics","readme_excerpt":"LOG4CL-EXTRAS - Addons for Log4CL LOG4CL-EXTRAS ASDF System Details Description: A bunch of addons to LOG4CL : JSON appender, context fields, cross-finger appender, etc. Licence: BSD Author: Alexander Artemenko Homepage: [https://40ants.com/log4cl-extras/][2906] Bug tracker: [https://github.com/40ants/log4cl-extras/issues][d7d4] Source control: [GIT][8f00] Depends on: [40ants-doc][2c00], [alexandria][8236], [cl-strings][2ecb], [dissect][70a8], [global-vars][07be], [jonathan][6dd8], [local-time][46a1], [log4cl][7f8b], [named-readtables][d0a9], [pythonic-string-reader][c01d], [with-output-to-stream][9201] [ ][b509] Installation You can install this library from Quicklisp, but you want to receive updates quickly, then install it from Ultralisp.org: Configuration By default LOG4CL outputs log items like this: However logging extra context fields requires a custom \"layout\". Layout defines the way how the message will be formatted. This system defines two layout types: :PLAIN - a layout for printing messages to the REPL . :JSON - a layout which outputs each message and all it's data as a JSON documents. Use it to feed logs to Elastic Search or a service like [Datadog][646b] to [Papertrail][ee55]. To use these custom layouts, you have to use [ setup ][74de] function. It also allows to set a log level for root logger and appenders. Here is a minimal example showing how to configure logger for the REPL : If you replace :PLAIN with :JSON , you'll get this: Appender in terms of log4cl i","default_branch":null,"files":null,"tree":[],"storefront":"/r/40ants","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/40ants/log4cl-extras/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}