Skip to content

Skeudenn / main/services/lookup-log / setLookupLogSink

Function: setLookupLogSink() ​

setLookupLogSink(next): () => void

Defined in: src/main/services/lookup-log.ts:13

Redirects the log (null silences it); returns what to call to restore the previous sink.

Parameters ​

next ​

((line) => void) | null

Returns ​

() => void