13 lines
563 B
Go
13 lines
563 B
Go
package domain
|
|
|
|
type LogEntry struct {
|
|
Level string `json:"level" bson:"level"`
|
|
Message string `json:"message" bson:"message"`
|
|
Timestamp string `json:"timestamp" bson:"timestamp"`
|
|
Fields map[string]interface{} `json:"fields" bson:"fields"`
|
|
Caller string `json:"caller" bson:"caller"`
|
|
Stack string `json:"stacktrace" bson:"stacktrace"`
|
|
Service string `json:"service" bson:"service"`
|
|
Env string `json:"env" bson:"env"`
|
|
}
|