diff --git a/ChangeLog.md b/ChangeLog.md index fe62672..dc4e1cd 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -2,6 +2,17 @@ # ChangeLog + + +## 0.2.0 (2024-11-20) + + + +### Changed + +* Now [`40ants-logging:setup-for-backend`][d0af] function and [`40ants-logging:setup-for-cli`][78f4] function keep nested loggers. This way you will not loose setup made by `LOG4SLY` or `LOG4SLYNK` interactively. +* Also, setup functions now keeps original appender's stream, which prevents from occational disruption of the base logging process. + ## 0.1.0 (2023-02-05) @@ -9,5 +20,8 @@ * Initial version. +[d0af]: https://40ants.com/logging/#x-2840ANTS-LOGGING-3ASETUP-FOR-BACKEND-20FUNCTION-29 +[78f4]: https://40ants.com/logging/#x-2840ANTS-LOGGING-3ASETUP-FOR-CLI-20FUNCTION-29 + * * * ###### [generated by [40ANTS-DOC](https://40ants.com/doc/)] diff --git a/README.md b/README.md index f0fa72c..d729e1f 100644 --- a/README.md +++ b/README.md @@ -104,19 +104,19 @@ To change log level only for the `REPL`, call `(40ants-logging:setup-for-repl :l -### [function](2c1c) `40ants-logging:setup-for-backend` &key (level \*default-level\*) +### [function](ab3c) `40ants-logging:setup-for-backend` &key (level \*default-level\*) Configures `LOG4CL` for logging in `JSON` format. -### [function](a55f) `40ants-logging:setup-for-cli` &key (level \*default-level\*) +### [function](18a2) `40ants-logging:setup-for-cli` &key (level \*default-level\*) Configures `LOG4CL` for logging in plain-text format with context fields support. -### [function](58f6) `40ants-logging:setup-for-repl` &key (level \*level\*) (stream \*debug-io\*) +### [function](f8dd) `40ants-logging:setup-for-repl` &key (level \*level\*) (stream \*debug-io\*) Configures `LOG4CL` for logging in `REPL` when you connect to the running lisp image already configured as a backend or `CLI` application. @@ -125,7 +125,7 @@ when your `SLY` connects to the image. -### [function](792b) `40ants-logging:remove-repl-appender` +### [function](f213) `40ants-logging:remove-repl-appender` Returns configuration the state as it was after [`setup-for-backend`][d0af] or [`setup-for-cli`][78f4] call. @@ -141,10 +141,10 @@ when your `SLY` disconnects from the image. [04ac]: https://40ants.com/slynk/#x-28-23A-28-2812-29-20BASE-CHAR-20-2E-20-2240ants-slynk-22-29-20ASDF-2FSYSTEM-3ASYSTEM-29 [0aac]: https://github.com/40ants/logging [2779]: https://github.com/40ants/logging/actions -[2c1c]: https://github.com/40ants/logging/blob/42650f26a86e2a88b3cfde6749f4976ddd7b4282/src/core.lisp#L22 -[58f6]: https://github.com/40ants/logging/blob/42650f26a86e2a88b3cfde6749f4976ddd7b4282/src/core.lisp#L36 -[792b]: https://github.com/40ants/logging/blob/42650f26a86e2a88b3cfde6749f4976ddd7b4282/src/core.lisp#L53 -[a55f]: https://github.com/40ants/logging/blob/42650f26a86e2a88b3cfde6749f4976ddd7b4282/src/core.lisp#L63 +[f213]: https://github.com/40ants/logging/blob/99339d2087081a6732f50215293b2dae1934b1fa/src/core.lisp#L122 +[ab3c]: https://github.com/40ants/logging/blob/99339d2087081a6732f50215293b2dae1934b1fa/src/core.lisp#L38 +[18a2]: https://github.com/40ants/logging/blob/99339d2087081a6732f50215293b2dae1934b1fa/src/core.lisp#L69 +[f8dd]: https://github.com/40ants/logging/blob/99339d2087081a6732f50215293b2dae1934b1fa/src/core.lisp#L96 [cd63]: https://github.com/40ants/logging/issues [07be]: https://quickdocs.org/global-vars [691c]: https://quickdocs.org/log4cl-extras