github.com/LanceLRQ/deer-common@v0.0.9-0.20210319081233-e8222ac018a8/logger/item.go (about)

     1  package logger
     2  
     3  type JudgeLogItem struct {
     4  	// 时间戳
     5  	Timestamp float64 `json:"timestamp" bson:"timestamp"`
     6  	//
     7  	Duration float64 `json:"duration" bson:"duration"`
     8  	// 日志等级
     9  	Level int `json:"level" bson:"level"`
    10  	// 日志消息
    11  	Message string `json:"msg" bson:"msg"`
    12  }