# Functions
Error returns an [slog.Attr] for an [error].
FromContext retrieves logger from the given context.
NewJSONTraceIDHandler creates new [slog.JSONHandler] which adds a `TraceID` attribute to all loggings if trace id is present.
WithLogger returns a context containing a reference to the given logger.