diff --git a/tex/part-practical.tex b/tex/part-practical.tex index f67ea6e..f1c080a 100644 --- a/tex/part-practical.tex +++ b/tex/part-practical.tex @@ -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