Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpAllThread ¶
func DumpAllThread()
Types ¶
type LogContextInterface ¶
type LogContextInterface interface { // Caller's function name. Func() string // Caller's line number. Line() int // Caller's file short path (in slashed form). ShortPath() string // Caller's file full path (in slashed form). FullPath() string // Caller's file name (without path). FileName() string // True if the context is correct and may be used. // If false, then an error in context evaluation occurred and // all its other data may be corrupted. IsValid() bool // Time when log function was called. CallTime() time.Time // Custom context that can be set by calling logger.SetContext CustomContext() interface{} }
Represents runtime caller context.
Click to show internal directories.
Click to hide internal directories.