This module provides a simple logging interface which is easy to use and implement.
It also provides a usable implementation based on the log
package of the Go
SDK.
The following logging frameworks are adapted:
- Uber Zap - adapt via zap-log .
- logrus - adapt via logrus-log .
- Print message via the Print-like function family:
Print
,Printf
,Println
- Support key/value pairs metadata.
- Support named loggers.
- Support level logging.
- Support dynamic runtime logging level control by logger names.
- Support
context.Context
and extracting value from it.
- dowenliu-xyz [email protected]
Log is licensed under the MIT. See LICENSE for the full license text.