package
0.0.0-20241226131737-dfcb2b0ba0ac
Repository: https://github.com/housiadas/backend-system.git
Documentation: pkg.go.dev
# Functions
New constructs a new log for application use.
NewStdLogger returns a standard library Logger that wraps the slog Logger.
NewWithEvents constructs a new log for application use with events.
NewWithHandler returns a new log for application use with the underlying handler.
# Constants
A set of possible logging levels.
A set of possible logging levels.
A set of possible logging levels.
A set of possible logging levels.
# Type aliases
EventFn is a function to be executed when configured against a log level.
Level represents different logging levels.
RequestIDFn represents a function that can return the request id from the specified context.
TraceIDFn represents a function that can return the trace id from the specified context.