package
1.0.10
Repository: https://github.com/coder2z/g-saber.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Auto ...
Buffer wraps a WriteSyncer in a buffer to improve performance, if bufferSize = 0, we set it to defaultBufferSize if flushInterval = 0, we set it to defaultFlushInterval.
Debug ...
No description provided by the author
Debugf ...
Debugw ...
No description provided by the author
No description provided by the author
DPanic ...
DPanicf ...
DPanicw ...
Error ...
Errorf ...
Errorw ...
Fatal ...
Fatalf ...
Fatalw ...
No description provided by the author
FieldCode ...
No description provided by the author
No description provided by the author
耗时时间.
No description provided by the author
FieldErr ...
FieldErrKind ...
FieldExtMessage ...
No description provided by the author
FieldKey ...
FieldKind ..
FieldMethod ...
FieldName ...
No description provided by the author
No description provided by the author
No description provided by the author
FieldStack ...
FieldTid 设置链路id.
FieldType ..
FieldValue ...
FieldValueAny ...
Info ...
Infof ...
Infow ...
Panic ...
Panicf ...
Panicw ...
RawConfig ...
No description provided by the author
StdConfig xlog.
Warn ...
Warnf ...
Warnw ...
With ...
WithDebug 设置在命令行显示.
WithEnableAddCaller 是否添加行号,默认不添加行号.
WithEnableAsync 是否异步执行,默认异步.
No description provided by the author
WithFileName 设置文件名.
WithLevel 设置级别.

# Variables

Any ...
ByteString ...
Duration ...
Float64 ...
Int ...
Int32 ...
Int64 ...
Namespace ...
Object ...
Reflect ...
Skip ...
String ...
Uint ...

# Structs

No description provided by the author

# Type aliases

CloseFunc should be called when the caller exits to clean up buffers.
No description provided by the author
No description provided by the author
Option 可选项.