Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tracer ¶
type Tracer interface {
NeedNoErr(err error) string
SetValue(name string, value string)
Write(b []byte) (n int, err error)
WriteString(s string)
Writef(s string, args ...interface{})
WriteLine(s string)
WriteLinef(s string, args ...interface{})
Trace(message string, args ...interface{})
Debug(message string, args ...interface{})
Info(message string, args ...interface{})
Error(message string, args ...interface{})
Warn(message string, args ...interface{})
Fatal(message string, args ...interface{})
Close() error
}
func New ¶
New create new instance of tracer @level specify the warning levels you want to save, e.g. All for everyone or selected: Info|Error @writer logs will be saved here
Click to show internal directories.
Click to hide internal directories.