log

package
v0.0.0-...-112ff1b Latest Latest
Warning

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

Go to latest
Published: May 28, 2014 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}
var Server *Logger = &Logger{
	logger: baseLogger,
}

func NewLogger

func NewLogger() *Logger

func (*Logger) Debug

func (l *Logger) Debug(id, format string, args ...interface{})

func (*Logger) Error

func (l *Logger) Error(id, format string, args ...interface{})

func (*Logger) Info

func (l *Logger) Info(id, format string, args ...interface{})

func (*Logger) Log

func (l *Logger) Log(level, id, format string, args ...interface{})

func (*Logger) SetPrefixer

func (l *Logger) SetPrefixer(f func(string) string)

func (*Logger) Warn

func (l *Logger) Warn(id, format string, args ...interface{})

Jump to

Keyboard shortcuts

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