package
0.0.0-20240403073756-b8dc29d3e606
Repository: https://github.com/wtran29/go-service.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.
NewZap constructs a Sugared Logger that writes to stdout and provides human-readable timestamps.
# 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
EventFunc is a function to be executed when configured against a log level.
Level represents different logging levels.
TraceIDFunc represents a function that can return the trace id from the specified context.