@tauri-apps/plugin-log - v2.6.0
    Preparing search index...

    Function attachLogger

    • Attaches a listener for the log, and calls the passed function for each log entry.

      Parameters

      • fn: LoggerFn

      Returns Promise<UnlistenFn>

      a function to cancel the listener.