package
0.0.0-20240719131807-720b936bf1ef
Repository: https://github.com/rmishgoog/starter-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.
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.

# Structs

Events contains an assignment of an event function to a log level.
Logger represents a logger for logging information.
Record represents the data that is being logged.

# Type aliases

EventFn is a function to be executed when configured against a log level.
Level represents different logging levels.
TraceIDFn represents a function that can return the trace id from the specified context.