logger

package
v0.20.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultLogger

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

DefaultLogger implementation of Logger using the go log package

func NewDefaultLogger

func NewDefaultLogger() *DefaultLogger

NewDefaultLogger creates a new Default Logger

func (DefaultLogger) Debug

func (d DefaultLogger) Debug(v ...interface{})

func (DefaultLogger) Debugf

func (d DefaultLogger) Debugf(format string, v ...interface{})

func (DefaultLogger) Error

func (d DefaultLogger) Error(v ...interface{})

func (DefaultLogger) Errorf

func (d DefaultLogger) Errorf(format string, v ...interface{})

func (DefaultLogger) Fatal

func (d DefaultLogger) Fatal(v ...interface{})

func (DefaultLogger) Fatalf

func (d DefaultLogger) Fatalf(format string, v ...interface{})

func (DefaultLogger) Info

func (d DefaultLogger) Info(v ...interface{})

func (DefaultLogger) Infof

func (d DefaultLogger) Infof(format string, v ...interface{})

func (DefaultLogger) Warn

func (d DefaultLogger) Warn(v ...interface{})

func (DefaultLogger) Warnf

func (d DefaultLogger) 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{})
}

Logger interface used by the go sdk

Jump to

Keyboard shortcuts

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