Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
Load Read config from file.
func New ¶
func New(options ...LogOptions) *slog.Logger
Types ¶
type LogOptions ¶ added in v3.0.2
type LogOptions func(*Log)
func WithLevel ¶ added in v3.0.2
func WithLevel(level string) LogOptions
func WithShort ¶ added in v3.0.2
func WithShort(short bool) LogOptions
func WithType ¶ added in v3.0.2
func WithType(tp string) LogOptions
Click to show internal directories.
Click to hide internal directories.