wlog

package
v0.0.0-...-57186e4 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

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

func Infof

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

func InstallConsoleLogger

func InstallConsoleLogger() error

func Raw

func Raw(args ...interface{})

Types

type ConsoleLogger

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

func (*ConsoleLogger) Errorf

func (l *ConsoleLogger) Errorf(format string, args ...interface{})

func (*ConsoleLogger) Infof

func (l *ConsoleLogger) Infof(format string, args ...interface{})

func (*ConsoleLogger) Raw

func (l *ConsoleLogger) Raw(args ...interface{})

type DefaultLogger

type DefaultLogger struct {
}

func (*DefaultLogger) Errorf

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

func (*DefaultLogger) Infof

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

func (*DefaultLogger) Raw

func (l *DefaultLogger) Raw(args ...interface{})

type Logger

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

Jump to

Keyboard shortcuts

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