 import Cocoa
 import ScriptingBridge
 import TypedNotification
+import os.signpost
+
+private let log = OSLog(subsystem: "org.alexj.Spotijack", category: "Session Manager")
 
 // swiftlint:disable type_body_length
 /// `SpotijackSessionManager` coordinates a Spotijack recording session. It maintains a scripting bridge to Spotify,

            self?._isRecordingTempDisabled = false
            self?.isRecording = true
            self?.spotifyBridge.play!()
        }

        if delay == 0 {

    // MARK: - Private Methods

    @objc private func applicationPollingTimerFired(timer: Timer) {
        os_signpost(.begin, log: log, name: "Poll Applications")
        pollSpotify()
        pollAudioHijackPro()
        os_signpost(.end, log: log, name: "Poll Applications")
    }

    /// ID of the track playing in Spotify when it was last polled.
