Documentation ¶
Index ¶
- Variables
- func CleanStack(buf []byte) []byte
- func DepthErrorf(depth int, format string, v ...interface{})
- func DepthInfof(depth int, format string, v ...interface{})
- func DepthWarnf(depth int, format string, v ...interface{})
- func DumpGoroutines()
- func DumpStack()
- func Errorf(format string, v ...interface{})
- func Infof(format string, v ...interface{})
- func Init(path string) error
- func Me() string
- func Outputf(n int, p, format string, v ...interface{})
- func TakeStderr()
- func Warnf(format string, v ...interface{})
- type Logger
- func (log *Logger) DumpGoroutines()
- func (log *Logger) DumpStack()
- func (log *Logger) Errorf(format string, v ...interface{})
- func (l *Logger) Info(v ...interface{})
- func (log *Logger) Infof(format string, v ...interface{})
- func (l *Logger) Outputf(depth int, prefix string, format string, v ...interface{})
- func (log *Logger) Warnf(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CleanStack ¶
CleanStack prunes the stack to only include local frames.
func DepthErrorf ¶
func DepthInfof ¶
func DepthWarnf ¶
func DumpGoroutines ¶
func DumpGoroutines()
func Me ¶
func Me() string
Me returns the the function name of the deepest stack frame that is part of the pty program.
func TakeStderr ¶
func TakeStderr()
Types ¶
Click to show internal directories.
Click to hide internal directories.