Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GyeeProject = true // is playing in github.com/yeeco/gyee project GlobalLogger *logrus.Logger = nil // the global logger Level = logrus.DebugLevel Skip = 2 Tag = "global" LogPosition = true )
Functions ¶
Types ¶
type P2pLogger ¶
type P2pLogger struct { Tag string // tag string Level uint32 // logger level Global bool // if global logger applied Skip int // callers to be skipped LogPosition bool // if caller's file and line needed // contains filtered or unexported fields }
func NewP2pLogger ¶
func (*P2pLogger) SetFileRotationHooker ¶
Click to show internal directories.
Click to hide internal directories.