mirror of
https://github.com/nextcloud/desktop.git
synced 2026-01-14 02:01:28 +00:00
19 lines
588 B
Swift
19 lines
588 B
Swift
// SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
|
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
import Foundation
|
|
import NextcloudFileProviderKit
|
|
import os
|
|
|
|
public actor FileProviderLogMock: FileProviderLogging {
|
|
let logger: Logger
|
|
|
|
public init() {
|
|
logger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: "FileProviderLogMock")
|
|
}
|
|
|
|
public func write(category _: String, level _: OSLogType, message: String, details _: [FileProviderLogDetailKey: (any Sendable)?]) {
|
|
logger.debug("\(message, privacy: .public)")
|
|
}
|
|
}
|