Documentation ¶
Index ¶
- type LogBundle
- func (l *LogBundle) Error(message string, r *http.Request, function any, params ...map[string]any)
- func (l *LogBundle) Info(message string, r *http.Request, function any, params ...map[string]any)
- func (l *LogBundle) Panic(err any, r *http.Request, stack string, params ...map[string]any)
- func (l *LogBundle) Warning(message string, r *http.Request, function any, params ...map[string]any)
- type Logger
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogBundle ¶
type LogBundle struct {
// contains filtered or unexported fields
}
Struct that will returns in `New` function
type Logger ¶
type Logger interface { Info(message string, r *http.Request, function any, params ...map[string]any) Warning(message string, r *http.Request, function any, params ...map[string]any) Error(message string, r *http.Request, function any, params ...map[string]any) Panic(err any, r *http.Request, stack string, params ...map[string]any) }
Click to show internal directories.
Click to hide internal directories.