Documentation ¶
Index ¶
Constants ¶
View Source
const CorrelationIDKey key = "correlation_id"
CorrelationIDKey is the key to access the correlation id in the context.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Error(args ...any) Errorf(template string, args ...any) Debug(args ...any) Debugf(template string, args ...any) Info(args ...any) Infof(template string, args ...any) Warn(args ...any) Warnf(template string, args ...any) With(key string, value any) Logger WithError(err error) Logger WithCorrelation(ctx context.Context) Logger }
Logger to print information to standard output.
Click to show internal directories.
Click to hide internal directories.