package
0.2.0-alpha.3
Repository: https://github.com/superproj/onex.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
C represents for `FromContext` with empty keyvals.
Debugf 输出 debug 级别的日志.
Debugw 输出 debug 级别的日志.
No description provided by the author
Errorf 输出 error 级别的日志.
Errorw 输出 error 级别的日志.
Fatalf 输出 fatal 级别的日志.
Fatalw 输出 fatal 级别的日志.
FromContext returns a logger with predefined values from a context.Context.
Infof 输出 info 级别的日志.
Infow 输出 info 级别的日志.
Init 使用指定的选项初始化 Logger.
NewLogger 根据传入的 opts 创建 Logger.
NewOptions creates a new Options object with default values.
Panicf 输出 panic 级别的日志.
Panicw 输出 panic 级别的日志.
Sync 调用底层 zap.Logger 的 Sync 方法,将缓存中的日志刷新到磁盘文件中.
Warnf 输出 warning 级别的日志.
Warnw 输出 warning 级别的日志.
No description provided by the author
WithContext returns a copy of context in which the log value is set.

# Structs

Options contains configuration options for logging.

# Interfaces

No description provided by the author
Logger 定义了 onex 项目的日志接口.

# Type aliases

No description provided by the author