Skip to content
Snippets Groups Projects
Commit 46a33abf authored by ko_oler's avatar ko_oler
Browse files

правки в Entry

parent fb9b5b0a
No related branches found
No related tags found
No related merge requests found
...@@ -37,19 +37,14 @@ type Caller struct { ...@@ -37,19 +37,14 @@ type Caller struct {
type Entry struct { type Entry struct {
ID string `json:"ID,omitempty" bson:"ID"` ID string `json:"ID,omitempty" bson:"ID"`
Action string `json:"action,omitempty" bson:"action"`
Timestamp time.Time `json:"timestamp" bson:"timestamp"` Timestamp time.Time `json:"timestamp" bson:"timestamp"`
LogLevel Level `json:"logLevel,omitempty" bson:"logLevel"` LogLevel Level `json:"logLevel,omitempty" bson:"logLevel"`
Message string `json:"message,omitempty" bson:"message"` Message string `json:"message,omitempty" bson:"message"`
Category string `json:"category,omitempty" bson:"category"` Category string `json:"category,omitempty" bson:"category"`
Component string `json:"component,omitempty" bson:"component"` Component string `json:"component,omitempty" bson:"component"`
Organization string `json:"organization,omitempty" bson:"organization"` Event string `json:"event,omitempty" bson:"event"`
Space string `json:"space,omitempty" bson:"space"` Object string `json:"object,omitempty" bson:"object"`
Env string `json:"env,omitempty" bson:"env"` Caller string `json:"caller" bson:"caller"`
Collection string `json:"collection,omitempty" bson:"collection"`
ObjectType string `json:"objectType,omitempty" bson:"objectType"`
ObjectId string `json:"objectId,omitempty" bson:"objectId"`
Caller *Caller `json:"caller" bson:"caller"`
Attr interface{} `json:"attr,omitempty" bson:"attr"` Attr interface{} `json:"attr,omitempty" bson:"attr"`
Tags []string `json:"tags,omitempty" bson:"tags"` Tags []string `json:"tags,omitempty" bson:"tags"`
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment