Documentation ¶
Index ¶
- type Log
- func (l *Log) Apply(o *types.Log)
- func (l *Log) MongoQuery() bson.M
- func (l *Log) WithCreatedAt(createdAt types.Time) *Log
- func (l *Log) WithLevel(level types.Level) *Log
- func (l *Log) WithMessage(message string) *Log
- func (l *Log) WithModule(module string) *Log
- func (l *Log) WithService(service string) *Log
- type Token
- type Updates
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct { Level optional.Optional[types.Level] Service optional.Optional[string] Module optional.Optional[string] Message optional.Optional[string] CreatedAt optional.Optional[types.Time] }
func (*Log) MongoQuery ¶
func (*Log) WithMessage ¶
func (*Log) WithModule ¶
func (*Log) WithService ¶
Click to show internal directories.
Click to hide internal directories.