Skip to content

Commit b879261

Browse files
camilasani2h3
authored andcommitted
style(LocalFiles): rename FileProviderLogger category to the file name.
Signed-off-by: Camila Ayres <hello@camilasan.com>
1 parent 6a7c420 commit b879261

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/NextcloudFileProviderKit/Utilities/LocalFiles.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public func isLockFileName(_ filename: String) -> Bool {
5858
/// - Returns: Either the original file name parsed from the given lock file name or `nil`, if it is not a recognized lock file format.
5959
///
6060
public func originalFileName(fromLockFileName lockFilename: String, dbManager: FilesDatabaseManager) -> String? {
61-
let logger = FileProviderLogger(category: "localfileutils", log: dbManager.logger.log)
61+
let logger = FileProviderLogger(category: "LocalFiles", log: dbManager.logger.log)
6262
logger.debug("Called originalFileName with lock filename: \(lockFilename)")
6363

6464
var targetFileSuffix = lockFilename

0 commit comments

Comments
 (0)