logger

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 License: MIT Imports: 3 Imported by: 52

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) Error

func (d *DefaultLogger) Error(args ...interface{})

func (*DefaultLogger) Errorf

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

func (*DefaultLogger) Info

func (d *DefaultLogger) Info(args ...interface{})

func (*DefaultLogger) Infof

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

func (*DefaultLogger) Warning

func (d *DefaultLogger) Warning(args ...interface{})

func (*DefaultLogger) Warningf

func (d *DefaultLogger) Warningf(format string, args ...interface{})

type Logger

type Logger interface {
	Info(args ...interface{})
	Infof(format string, args ...interface{})

	Warning(args ...interface{})
	Warningf(format string, args ...interface{})

	Error(args ...interface{})
	Errorf(format string, args ...interface{})
}

type Module

type Module struct {
	Logger
}

func (*Module) Init

func (m *Module) Init(c *service.Config)

Jump to

Keyboard shortcuts

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