Documentation
¶
Index ¶
- type Logger
- func (self *Logger) Error(args ...any)
- func (self *Logger) Errorf(format string, args ...any)
- func (self *Logger) Errorln(args ...any)
- func (self *Logger) Fatal(args ...any)
- func (self *Logger) Fatalf(format string, args ...any)
- func (self *Logger) Fatalln(args ...any)
- func (self *Logger) Info(args ...any)
- func (self *Logger) Infof(format string, args ...any)
- func (self *Logger) Infoln(args ...any)
- func (self *Logger) V(l int) bool
- func (self *Logger) Warning(args ...any)
- func (self *Logger) Warningf(format string, args ...any)
- func (self *Logger) Warningln(args ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) Errorf ¶
Errorf logs to ERROR log. Arguments are handled in the manner of fmt.Printf.
func (*Logger) Errorln ¶
Errorln logs to ERROR log. Arguments are handled in the manner of fmt.Println.
func (*Logger) Fatal ¶
Fatal logs to ERROR log. Arguments are handled in the manner of fmt.Print. gRPC ensures that all Fatal logs will exit with os.Exit(1). Implementations may also call os.Exit() with a non-zero exit code.
func (*Logger) Fatalf ¶
Fatalf logs to ERROR log. Arguments are handled in the manner of fmt.Printf. gRPC ensures that all Fatal logs will exit with os.Exit(1). Implementations may also call os.Exit() with a non-zero exit code.
func (*Logger) Fatalln ¶
Fatalln logs to ERROR log. Arguments are handled in the manner of fmt.Println. gRPC ensures that all Fatal logs will exit with os.Exit(1). Implementations may also call os.Exit() with a non-zero exit code.
func (*Logger) Infoln ¶
Infoln logs to INFO log. Arguments are handled in the manner of fmt.Println.
func (*Logger) Warning ¶
Warning logs to WARNING log. Arguments are handled in the manner of fmt.Print.