package
Version:
v0.7.9
Opens a new window with list of versions in this module.
Published: Feb 11, 2026
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Logger
logger 包定义了基础的日志级别类型。
内容
LogLevel
定义了日志级别字符串类型:
Info:信息(info)
Error:错误(error)
Success:成功(success)
使用示例
import "github.com/fireflycore/go-micro/logger"
func Log(level logger.LogLevel, msg string) {
_ = level
_ = msg
}
Documentation
¶
Package logger 定义 go-micro 的基础日志级别类型。
Source Files
¶
Click to show internal directories.
Click to hide internal directories.