We will look at how to turn “just text” messages into structured events in
log/slog: we fix a minimal dictionary of keys (
operation,
id,
duration), learn to choose stable values for scenarios, link logs by entity identifier, and measure execution time with
time
.
Since
(
start
). In the end, we will weave these fields into a simple CLI todo and examine common mistakes.