logadapter

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogAdapter

type LogAdapter struct {
	// contains filtered or unexported fields
}

func Wrap

func Wrap(log zerolog.Logger) *LogAdapter

func (*LogAdapter) Debug added in v0.4.25

func (s *LogAdapter) Debug(v ...interface{})

func (*LogAdapter) Debugf added in v0.4.25

func (s *LogAdapter) Debugf(format string, v ...interface{})

func (*LogAdapter) Error

func (s *LogAdapter) Error(v ...interface{})

func (*LogAdapter) Errorf

func (s *LogAdapter) Errorf(format string, v ...interface{})

func (*LogAdapter) Fatal

func (s *LogAdapter) Fatal(v ...interface{})

func (*LogAdapter) Fatalf

func (s *LogAdapter) Fatalf(format string, v ...interface{})

func (*LogAdapter) Info

func (s *LogAdapter) Info(v ...interface{})

func (*LogAdapter) Infof

func (s *LogAdapter) Infof(format string, v ...interface{})

func (*LogAdapter) Print

func (s *LogAdapter) Print(v ...interface{})

func (*LogAdapter) Printf

func (s *LogAdapter) Printf(format string, v ...interface{})

func (*LogAdapter) Println

func (s *LogAdapter) Println(v ...interface{})

func (*LogAdapter) Warn

func (s *LogAdapter) Warn(v ...interface{})

func (*LogAdapter) Warnf

func (s *LogAdapter) Warnf(format string, v ...interface{})

type Logger

type Logger interface {
	Debug(v ...interface{})
	Debugf(format string, v ...interface{})
	Info(v ...interface{})
	Infof(format string, v ...interface{})
	Warn(v ...interface{})
	Warnf(format string, v ...interface{})
	Error(v ...interface{})
	Errorf(format string, v ...interface{})
	Fatal(v ...interface{})
	Fatalf(format string, v ...interface{})
}

type StdLogger

type StdLogger interface {
	Fatal(v ...interface{})
	Fatalf(format string, v ...interface{})
	Print(v ...interface{})
	Println(v ...interface{})
	Printf(format string, v ...interface{})
}

Jump to

Keyboard shortcuts

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