Documentation ¶
Index ¶
- type CreateLogEntryRequest
- type GetLogEntriesResponse
- type LogEntry
- type LogEntryCollection
- type LogEntryDetailItem
- type LogEntryDetailItemCollection
- type LogEntryService
- func (s *LogEntryService) CreateLogEntry(entryRequest *CreateLogEntryRequest) (string, error)
- func (s *LogEntryService) Delete(fromDate time.Time) (int, error)
- func (s *LogEntryService) GetApplicationNames() ([]string, error)
- func (s *LogEntryService) GetLogEntries(filter *filters.LogEntryFilter) (LogEntryCollection, int, error)
- func (s *LogEntryService) GetLogEntry(id string) (*LogEntry, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateLogEntryRequest ¶
type GetLogEntriesResponse ¶
type GetLogEntriesResponse struct { Count int `json:"count"` LogEntries LogEntryCollection `json:"logEntries"` PageSize int `json:"pageSize"` TotalCount int `json:"totalCount"` }
type LogEntry ¶
type LogEntry struct { Application string `json:"application" bson:"application"` Details LogEntryDetailItemCollection `json:"details" bson:"details"` ID bson.ObjectId `json:"id" bson:"_id"` Level string `json:"level" bson:"level"` Message string `json:"message" bson:"message"` Time time.Time `json:"time" bson:"time"` }
type LogEntryCollection ¶
type LogEntryCollection []*LogEntry
type LogEntryDetailItem ¶
type LogEntryDetailItemCollection ¶
type LogEntryDetailItemCollection []*LogEntryDetailItem
type LogEntryService ¶
func (*LogEntryService) CreateLogEntry ¶
func (s *LogEntryService) CreateLogEntry(entryRequest *CreateLogEntryRequest) (string, error)
func (*LogEntryService) GetApplicationNames ¶
func (s *LogEntryService) GetApplicationNames() ([]string, error)
func (*LogEntryService) GetLogEntries ¶
func (s *LogEntryService) GetLogEntries(filter *filters.LogEntryFilter) (LogEntryCollection, int, error)
func (*LogEntryService) GetLogEntry ¶
func (s *LogEntryService) GetLogEntry(id string) (*LogEntry, error)
Click to show internal directories.
Click to hide internal directories.