This field contains the mongo collection name for entries
that are stored using LogDocument or the model
LogModel.
Note that this field is not part of document properties
and used only internally to perform queries that refer to
an individual collection name, e.g. $unionWith
.
The label content of the log.
The level of the log.
The message content of the log.
The meta object content of the log.
The timestamp in which the log occurred and was persisted.
This method implements a specialized query format to query items
individually, as documents, in the collection: system-logs
.
The individual document data that is used in a query.
This static method populates a LogDTO object from the values of a LogDocument as presented by mongoose queries.
The document as received from mongoose.
The DTO object that will be populated with values.
The dto
object with fields set.
Generated using TypeDoc
This class defines the exact fields that are stored in the corresponding MongoDB documents. It should be used whenever database documents are being handled or read for the
logs
collection.Note that this class uses the generic Transferable trait to enable a
toDTO()
method on the model.Timestamp fields should be numbers to avoid timezone issues.
v0.3.2