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: 3 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址