1
0

tex: reword bit in logging

This commit is contained in:
surtur 2023-08-18 17:53:46 +02:00
parent 6b6471e42f
commit 42fa547ad2
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -282,12 +282,11 @@ is modified concurrently for all consumers. As a rule of thumb throughout the
application, every larger \texttt{struct} that needs to be passed around is
passed around as a pointer.
An experimental (note: not anymore in \texttt{go1.21}, it was just recently
brought into Go's \textit{stdlib}) library for \textit{structured} logging
\texttt{slog} was used to facilitate every logging need the program might have.
It supports both JSON and plain-text logging, which was made configurable by
the program. Either a configuration file value or an environment variable can
be used to set this.
An experimental (note: not anymore, with \texttt{go1.21} it was brought into
Go's \textit{stdlib}) library for \textit{structured} logging \texttt{slog} was
used to facilitate every logging need the program might have. It supports both
JSON and plain-text logging, which was made configurable by the program. Either
a configuration file value or an environment variable can be used to set this.
There are four log levels available by default (\texttt{DEBUG}, \texttt{INFO},
\texttt{WARNING}, \texttt{ERROR}) and the pertinent library funtions are