tex: reword bit in logging
This commit is contained in:
parent
6b6471e42f
commit
42fa547ad2
@ -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
|
||||
|
Reference in New Issue
Block a user