log

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 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 DefaultLogger

type DefaultLogger struct {
}

func (DefaultLogger) Debug

func (l DefaultLogger) Debug(template string, args ...interface{})

func (DefaultLogger) Error

func (l DefaultLogger) Error(template string, args ...interface{})

func (DefaultLogger) Info

func (l DefaultLogger) Info(template string, args ...interface{})

func (DefaultLogger) Warn

func (l DefaultLogger) Warn(template string, args ...interface{})

type Logger

type Logger interface {
	Debug(template string, args ...interface{})
	Info(template string, args ...interface{})
	Warn(template string, args ...interface{})
	Error(template string, args ...interface{})
}

Jump to

Keyboard shortcuts

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