type go.uber.org/zap.SugaredLogger
47 uses
go.uber.org/zap (current package)
global.go#L57: func S() *SugaredLogger {
logger.go#L145: func (log *Logger) Sugar() *SugaredLogger {
logger.go#L148: return &SugaredLogger{core}
sugar.go#L55: type SugaredLogger struct {
sugar.go#L63: func (s *SugaredLogger) Desugar() *Logger {
sugar.go#L70: func (s *SugaredLogger) Named(name string) *SugaredLogger {
sugar.go#L71: return &SugaredLogger{base: s.base.Named(name)}
sugar.go#L76: func (s *SugaredLogger) WithOptions(opts ...Option) *SugaredLogger {
sugar.go#L81: return &SugaredLogger{base: base}
sugar.go#L114: func (s *SugaredLogger) With(args ...interface{}) *SugaredLogger {
sugar.go#L115: return &SugaredLogger{base: s.base.With(s.sweetenFields(args)...)}
sugar.go#L121: func (s *SugaredLogger) Level() zapcore.Level {
sugar.go#L127: func (s *SugaredLogger) Debug(args ...interface{}) {
sugar.go#L133: func (s *SugaredLogger) Info(args ...interface{}) {
sugar.go#L139: func (s *SugaredLogger) Warn(args ...interface{}) {
sugar.go#L145: func (s *SugaredLogger) Error(args ...interface{}) {
sugar.go#L152: func (s *SugaredLogger) DPanic(args ...interface{}) {
sugar.go#L158: func (s *SugaredLogger) Panic(args ...interface{}) {
sugar.go#L164: func (s *SugaredLogger) Fatal(args ...interface{}) {
sugar.go#L170: func (s *SugaredLogger) Debugf(template string, args ...interface{}) {
sugar.go#L176: func (s *SugaredLogger) Infof(template string, args ...interface{}) {
sugar.go#L182: func (s *SugaredLogger) Warnf(template string, args ...interface{}) {
sugar.go#L188: func (s *SugaredLogger) Errorf(template string, args ...interface{}) {
sugar.go#L195: func (s *SugaredLogger) DPanicf(template string, args ...interface{}) {
sugar.go#L201: func (s *SugaredLogger) Panicf(template string, args ...interface{}) {
sugar.go#L207: func (s *SugaredLogger) Fatalf(template string, args ...interface{}) {
sugar.go#L217: func (s *SugaredLogger) Debugw(msg string, keysAndValues ...interface{}) {
sugar.go#L223: func (s *SugaredLogger) Infow(msg string, keysAndValues ...interface{}) {
sugar.go#L229: func (s *SugaredLogger) Warnw(msg string, keysAndValues ...interface{}) {
sugar.go#L235: func (s *SugaredLogger) Errorw(msg string, keysAndValues ...interface{}) {
sugar.go#L242: func (s *SugaredLogger) DPanicw(msg string, keysAndValues ...interface{}) {
sugar.go#L248: func (s *SugaredLogger) Panicw(msg string, keysAndValues ...interface{}) {
sugar.go#L254: func (s *SugaredLogger) Fatalw(msg string, keysAndValues ...interface{}) {
sugar.go#L260: func (s *SugaredLogger) Debugln(args ...interface{}) {
sugar.go#L266: func (s *SugaredLogger) Infoln(args ...interface{}) {
sugar.go#L272: func (s *SugaredLogger) Warnln(args ...interface{}) {
sugar.go#L278: func (s *SugaredLogger) Errorln(args ...interface{}) {
sugar.go#L285: func (s *SugaredLogger) DPanicln(args ...interface{}) {
sugar.go#L291: func (s *SugaredLogger) Panicln(args ...interface{}) {
sugar.go#L297: func (s *SugaredLogger) Fatalln(args ...interface{}) {
sugar.go#L302: func (s *SugaredLogger) Sync() error {
sugar.go#L307: func (s *SugaredLogger) log(lvl zapcore.Level, template string, fmtArgs []interface{}, context []interface{}) {
sugar.go#L321: func (s *SugaredLogger) logln(lvl zapcore.Level, fmtArgs []interface{}, context []interface{}) {
sugar.go#L356: func (s *SugaredLogger) sweetenFields(args []interface{}) []Field {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |