logfn

package module
v0.0.0-...-5ab3114 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2017 License: MIT Imports: 7 Imported by: 4

README

logfn

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StackTrace

func StackTrace(n int) string

Types

type LogFunc

type LogFunc func(fmt string, params ...interface{})

func (LogFunc) Ln

func (this LogFunc) Ln(as ...interface{})

func (LogFunc) PrintStackTrace

func (this LogFunc) PrintStackTrace(n int)

type LogFuncW

type LogFuncW LogFunc

func (LogFuncW) Write

func (this LogFuncW) Write(p []byte) (n int, err error)

type LogLevel

type LogLevel int

func (*LogLevel) SetLevel

func (this *LogLevel) SetLevel(n int)

func (*LogLevel) WrapFunc

func (this *LogLevel) WrapFunc(level int, fn LogFunc, prefix string) LogFunc

Jump to

Keyboard shortcuts

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