# Functions
Debug ...
Debugf ..
Debugw ..
DefaultContainer returns an default container.
DPanic ...
DPanicf ..
DPanicw ..
Error ...
Errorf ..
Errorw ..
Fatal ...
Fatalf ..
Fatalw ..
FieldAddr constructs an elog Field with some address.
FieldApp constructs an elog Field with ego application name.
FieldCode ...
FieldComponent constructs an elog Field with component type name.
FieldComponentName constructs an elog Field with component name.
FieldCost construct an elog Field with time cost.
FieldCtxTid constructs an elog Field with traceID which extracted from context.
FieldCustomKeyValue constructs a custom Key and value.
FieldDescription ...
FieldErr ...
FieldErrAny ...
FieldErrKind ...
FieldEvent ...
FieldExtMessage ...
FieldIP ...
FieldKey ...
FieldKind ..
FieldLogName constructs a field log name.
FieldMethod ...
FieldName ...
FieldPeerIP ...
FieldPeerName ...
FieldSize ...
FieldStack ...
FieldTid constructs an elog Field with traceID.
FieldType ..
FieldUniformCode uniform code.
FieldValue ...
FieldValueAny ...
Info ...
Infof ..
Infow ..
Load parses container configuration from configuration provider, such as a toml file, then use the configuration to construct a component container.
Panic ...
Panicf ..
Panicw ..
Provider 根据配置地址,创建数据源.
Register registers a dataSource creator function to the registry.
Warn ...
Warnf ..
Warnw ..
With ...
WithDebug 设置在命令行显示.
WithEnableAddCaller 是否添加行号,默认不添加行号.
WithEnableAsync 是否异步执行,默认异步.
WithEncoderConfig 加入encode config.
WithFileName 设置文件名.
WithLevel 设置级别.
WithZapCore 添加ZapCore.
# Constants
DebugLevel logs are typically voluminous, and are usually disabled in production.
DefaultLoggerName 业务日志名.
EgoLoggerName 系统文件名.
ErrorLevel logs are high-priority.
FatalLevel logs a message, then calls os.Exit(1).
InfoLevel is the default logging priority.
PackageName 包名.
PanicLevel logs a message, then panics.
WarnLevel logs are more important than Info, but don't need individual human review.
# Variables
Any alias for zap.Any.
ByteString alias for zap.ByteString.
DefaultLogger defines default logger, it's usually used in application business logic.
Duration alias for zap.Duration.
Durationp alias for zap.Duration.
EgoLogger defines ego framework logger, it's for ego framework only.
Int alias for zap.Int.
Int32 alias for zap.Int32.
Int64 alias for zap.Int64.
Namespace alias for zap.Namespace.
Object alias for zap.Object.
Reflect alias for zap.Reflect.
Skip alias for zap.Skip().
String alias for zap.String.
Uint alias for zap.Uint.