Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DvelopLogEvent

Several options for a log statement, that can be used by logging providers.

Hierarchy

  • DvelopLogEvent

Indexable

[key: string]: unknown | undefined

Index

Properties

customAttributes?: {}

Set custom attributes that can be used by a logging provider.

Type declaration

  • [key: string]: object | string | number | boolean | null
dbRequest?: DbRequest

Database request.

error?: Error

An error.

httpIncomingRequest?: IncomingHttpRequest

Incoming http request.

httpIncomingResponse?: HttpResponse

Response of an incoming http request.

httpOutgoingRequest?: OutgoingHttpRequest

Outgoing http request.

httpOutgoingResponse?: HttpResponse

Response of an outgoing http request.

invisible?: boolean

Specifies if the the logstatement is visible for tenant owner / customer.

message?: string | object

A value containing the body of the log record. Can be for example a human-readable string message (including multi-line) describing the event in a free form or it can be a structured data composed of arrays and maps of other values. Can vary for each occurrence of the event coming from the same source.

name?: string

Short event identifier that does not contain varying parts. Name describes what happened (e.g. "ProcessStarted"). Recommended to be no longer than 50 characters. Not guaranteed to be unique in any way. Typically used for filtering and grouping purposes in backends.
Can be used to identify domain events like FeaturesRequested or UserLoggedIn (cf. example).

Generated using TypeDoc