xlog

package module
v0.0.0-...-e754765 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2016 License: MIT Imports: 4 Imported by: 0

README

xlog

Documentation

Index

Constants

View Source
const (
	FATAL = iota
	ERROR
	WARNING
	INFO
	DEBUG
)

Variables

This section is empty.

Functions

func Debug

func Debug(s string, a ...interface{})

func Error

func Error(s string, a ...interface{})

func Fatal

func Fatal(s string, a ...interface{})

func Info

func Info(s string, a ...interface{})

func Init

func Init(lvl int)

func Log

func Log(lvl int, s string, a ...interface{})

func Warning

func Warning(s string, a ...interface{})

Types

type LogWriter

type LogWriter struct {
}

func (*LogWriter) Write

func (w *LogWriter) Write(buf []byte) (int, error)

Jump to

Keyboard shortcuts

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