Documentation ¶
Index ¶
Constants ¶
View Source
const ( INFO = "INFO" WARN = "WARN" ERROR = "ERROR" FATAL = "FATAL" CONCLUSION = "CONCLUSION" )
View Source
const ( GET = "GET" POST = "POST" )
Variables ¶
View Source
var (
MsgLevel = INFO // msg 的级别
)
Functions ¶
Types ¶
type Msg ¶
type Msg struct { Req *Req InfoLog []*Log WarnLog []*Log ErrorLog []*Log FatalLog []*Log ConclusionLog []*Log }
func (*Msg) AppendLogs ¶
Click to show internal directories.
Click to hide internal directories.