attachLogger
Module @netwiv/api/plugins/log · Kind Function
import { attachLogger } from '@netwiv/api/plugins/log';Attaches a listener for the log, and calls the passed function for each log entry.
Signature
Section titled “Signature”function attachLogger(fn: LoggerFn): Promise<UnlistenFn>Descriptions come from the pinned @tauri-apps/plugin-log@2.9.2 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.