Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 20, 2024
1 parent 99339d2 commit 310a28f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
14 changes: 14 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,26 @@

# ChangeLog

<a id="x-2840ANTS-LOGGING-DOCS-2FCHANGELOG-3A-3A-7C0-2E2-2E0-7C-2040ANTS-DOC-2FLOCATIVES-3ASECTION-29"></a>

## 0.2.0 (2024-11-20)

<a id="changed"></a>

### 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.

<a id="x-2840ANTS-LOGGING-DOCS-2FCHANGELOG-3A-3A-7C0-2E1-2E0-7C-2040ANTS-DOC-2FLOCATIVES-3ASECTION-29"></a>

## 0.1.0 (2023-02-05)

* 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/)]
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,19 +104,19 @@ To change log level only for the `REPL`, call `(40ants-logging:setup-for-repl :l

<a id="x-2840ANTS-LOGGING-3ASETUP-FOR-BACKEND-20FUNCTION-29"></a>

### [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.

<a id="x-2840ANTS-LOGGING-3ASETUP-FOR-CLI-20FUNCTION-29"></a>

### [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.

<a id="x-2840ANTS-LOGGING-3ASETUP-FOR-REPL-20FUNCTION-29"></a>

### [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.

Expand All @@ -125,7 +125,7 @@ when your `SLY` connects to the image.

<a id="x-2840ANTS-LOGGING-3AREMOVE-REPL-APPENDER-20FUNCTION-29"></a>

### [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.

Expand All @@ -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
Expand Down

0 comments on commit 310a28f

Please sign in to comment.