package
0.0.0-20230331091325-ab23161af9f4
Repository: https://github.com/weimob-tech/go-project-base.git
Documentation: pkg.go.dev

# Functions

Debug calls the default logger's Debug method.
Debugf calls the default logger's Debugf method.
Error calls the default logger's Error method.
Errorf calls the default logger's Errorf method.
Fatal calls the default logger's Fatal method and then os.Exit(1).
Fatalf calls the default logger's Fatalf method and then os.Exit(1).
No description provided by the author
Info calls the default logger's Info method.
Infof calls the default logger's Infof method.
No description provided by the author
Trace calls the default logger's Trace method.
Tracef calls the default logger's Tracef method.
Warn calls the default logger's Warn method.
Warnf calls the default logger's Warnf method.

# Constants

The levels of logs.
The levels of logs.
The levels of logs.
The levels of logs.
The levels of logs.
The levels of logs.

# Interfaces

Control provides methods to config a logger.
FormatLogger is a logger interface that output logs with a format.
FullLogger is the combination of Logger, FormatLogger, CtxLogger and Control.
Logger is a logger interface that provides logging function with levels.

# Type aliases

Level defines the priority of a log message.