logger

package
v0.0.0-...-d5063c0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2015 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Critical

func Critical(v ...interface{}) error

func Criticalf

func Criticalf(format string, params ...interface{}) error

func Debug

func Debug(v ...interface{})

func Debugf

func Debugf(format string, params ...interface{})

func Error

func Error(v ...interface{}) error

func Errorf

func Errorf(format string, params ...interface{}) error

func Info

func Info(v ...interface{})

func Infof

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

func Trace

func Trace(v ...interface{})

func Tracef

func Tracef(format string, params ...interface{})

func Warn

func Warn(v ...interface{}) error

func Warnf

func Warnf(format string, params ...interface{}) error

Types

type ILogger

type ILogger interface {
	Tracef(format string, params ...interface{})
	Debugf(format string, params ...interface{})
	Infof(format string, params ...interface{})
	Warnf(format string, params ...interface{}) error
	Errorf(format string, params ...interface{}) error
	Criticalf(format string, params ...interface{}) error

	Trace(v ...interface{})
	Debug(v ...interface{})
	Info(v ...interface{})
	Warn(v ...interface{}) error
	Error(v ...interface{}) error
	Critical(v ...interface{}) error

	Close()
	Flush()
	Closed() bool
}
var (
	Logger ILogger
)

Jump to

Keyboard shortcuts

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