nop

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct{}

Logger that does nothing

func (*Logger) Debug

func (l *Logger) Debug(msg string, fields ...log.Field)

Debug implements Debug method of log.Logger interface

func (*Logger) Debugf

func (l *Logger) Debugf(format string, args ...interface{})

Debugf implements Debugf method of log.Logger interface

func (*Logger) Error

func (l *Logger) Error(msg string, fields ...log.Field)

Error implements Error method of log.Logger interface

func (*Logger) Errorf

func (l *Logger) Errorf(format string, args ...interface{})

Errorf implements Errorf method of log.Logger interface

func (*Logger) Fatal

func (l *Logger) Fatal(msg string, fields ...log.Field)

Fatal implements Fatal method of log.Logger interface

func (*Logger) Fatalf

func (l *Logger) Fatalf(format string, args ...interface{})

Fatalf implements Fatalf method of log.Logger interface

func (*Logger) Fmt

func (l *Logger) Fmt() log.Fmt

Fmt returns fmt logger

func (*Logger) Info

func (l *Logger) Info(msg string, fields ...log.Field)

Info implements Info method of log.Logger interface

func (*Logger) Infof

func (l *Logger) Infof(format string, args ...interface{})

Infof implements Infof method of log.Logger interface

func (*Logger) Logger

func (l *Logger) Logger() log.Logger

Logger returns general logger

func (*Logger) Structured

func (l *Logger) Structured() log.Structured

Structured returns structured logger

func (*Logger) Trace

func (l *Logger) Trace(msg string, fields ...log.Field)

Trace implements Trace method of log.Logger interface

func (*Logger) Tracef

func (l *Logger) Tracef(format string, args ...interface{})

Tracef implements Tracef method of log.Logger interface

func (*Logger) Warn

func (l *Logger) Warn(msg string, fields ...log.Field)

Warn implements Warn method of log.Logger interface

func (*Logger) Warnf

func (l *Logger) Warnf(format string, args ...interface{})

Warnf implements Warnf method of log.Logger interface

func (*Logger) WithName

func (l *Logger) WithName(name string) log.Logger

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL