Skip to content

@graphty/graphty-element / logging / LogSinkReference

Interface: LogSinkReference ​

Defined in: graphty-element/src/logging/GraphtyLogger.ts:71

A destination named by a configuration rather than handed over as a live object.

This is plain JSON, which is the entire point: it survives a settings panel, a saved document and a page reload, none of which can hold a JavaScript object.

Properties ​

options? ​

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

Defined in: graphty-element/src/logging/GraphtyLogger.ts:75

What to configure it with, checked against the options its descriptor declares.


use ​

readonly use: string

Defined in: graphty-element/src/logging/GraphtyLogger.ts:73

The destination's registered name, such as "remote" or a third party's own id.