logging

package
v0.0.0-...-df3db6e Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Trace = "TRACE"
	Debug = "DEBUG"
	Info  = "INFO"
	Warn  = "WARN"
	Error = "ERROR"
)

Variables

Functions

func ByName

func ByName(n string) logutils.LogLevel

Types

type LogLevel

type LogLevel string

type Logger

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

func New

func New(sessid, client string) *Logger

func Simple

func Simple() *Logger

func (*Logger) Debugf

func (l *Logger) Debugf(format string, data ...interface{})

func (*Logger) Errorf

func (l *Logger) Errorf(format string, data ...interface{})

func (*Logger) Infof

func (l *Logger) Infof(format string, data ...interface{})

func (*Logger) Log

func (l *Logger) Log(level LogLevel, format string, data ...interface{})

func (*Logger) Tracef

func (l *Logger) Tracef(format string, data ...interface{})

func (*Logger) Warnf

func (l *Logger) Warnf(format string, data ...interface{})

Jump to

Keyboard shortcuts

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