Interface Target

A message to process before being logged.

Has the same structure as DueLog but some properties may be initially omitted. They will be fulfilled by dueLog before returned.

Hierarchy

  • Target

Properties

Properties

index?: number

An index of the first element of the log line to process.

Defaults to 0. When set to negative value, reset to 0. When set to the value greater than the length of the log line, reset to the log line length.

After processing will be set to the length of the final log line.

See

DueLog.index

line: unknown[]

Log line to process.

After processing will be updated to the final log line.

See

DueLog.line

on?: string

A hint indicating the logging stage.

See

DueLog.on

Generated using TypeDoc