ReadonlyextraAdditional metadata for the log event, for extension and contextual purposes. This field is immutable and must be a plain object. Intended for extensibility—avoid storing sensitive or large data here.
ReadonlymessageThe log message to be sent to the appenders.
This field is immutable. It must not be null, undefined, or an empty string.
ReadonlytimestampThe timestamp when the event was created.
This field is immutable and must be a valid Date instance.
ReadonlytypeThe event type from the LOG_EVENT enum. This field is immutable and must be set at construction.
Interface for all log events to be sent to appenders. Defines the structure of a log event and is intended to be immutable.
Remarks
LogEventto ensure all invariants hold. If you implement this interface directly, you are responsible for upholding these invariants.See