Skip to content

@graphty/graphty-element / catalog / logSinkDescriptor

Function: logSinkDescriptor() ​

logSinkDescriptor(id): LogSinkDescriptor | undefined

Defined in: graphty-element/src/catalog/logSinks.ts:108

Find one log destination by its name.

The element's own destinations are searched first, so a registration can never change what an existing name means.

Parameters ​

id ​

LogSinkId

The destination name, such as "remote".

Returns ​

LogSinkDescriptor | undefined

The descriptor, or undefined when nothing answers to that name.