Documentation ¶
Index ¶
- type LogAdapter
- func (s *LogAdapter) Debug(v ...interface{})
- func (s *LogAdapter) Debugf(format string, v ...interface{})
- func (s *LogAdapter) Error(v ...interface{})
- func (s *LogAdapter) Errorf(format string, v ...interface{})
- func (s *LogAdapter) Fatal(v ...interface{})
- func (s *LogAdapter) Fatalf(format string, v ...interface{})
- func (s *LogAdapter) Info(v ...interface{})
- func (s *LogAdapter) Infof(format string, v ...interface{})
- func (s *LogAdapter) Print(v ...interface{})
- func (s *LogAdapter) Printf(format string, v ...interface{})
- func (s *LogAdapter) Println(v ...interface{})
- func (s *LogAdapter) Warn(v ...interface{})
- func (s *LogAdapter) Warnf(format string, v ...interface{})
- type Logger
- type StdLogger
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{}) }
Click to show internal directories.
Click to hide internal directories.