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"` } type LogResponse struct { Message string `json:"message" bson:"message"` Data []LogEntry `json:"data"` Pagination Pagination `json:"pagination"` }