Skip to content

@graphty/graphty-element / extend / PlainLogRecord

Interface: PlainLogRecord ​

Defined in: graphty-element/src/simple/types.ts:403

A log record as a simple destination receives it. Frozen.

Properties ​

category ​

readonly category: string

Defined in: graphty-element/src/simple/types.ts:409

The category path joined with "." ("graphty.layout.ngraph").


data? ​

readonly optional data?: Readonly<Record<string, unknown>>

Defined in: graphty-element/src/simple/types.ts:413

The facts attached, when there are any. They can hold graph content.


error? ​

readonly optional error?: object

Defined in: graphty-element/src/simple/types.ts:415

The failure as plain data, so JSON.stringify(record) keeps it.

message ​

readonly message: string

name ​

readonly name: string

stack? ​

readonly optional stack?: string


level ​

readonly level: LogLevelName

Defined in: graphty-element/src/simple/types.ts:407

How severe it is.


message ​

readonly message: string

Defined in: graphty-element/src/simple/types.ts:411

What happened, in a sentence.


time ​

readonly time: Date

Defined in: graphty-element/src/simple/types.ts:405

When it happened.