We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1677b89 commit 25d2da1Copy full SHA for 25d2da1
1 file changed
Sources/NextcloudKit/Log/NKLogFileManager.swift
@@ -69,6 +69,13 @@ public final class NKLogFileManager: @unchecked Sendable {
69
shared.setConfiguration(logLevel: logLevel)
70
}
71
72
+ /// Configures filter.
73
+ /// - Parameters:
74
+ /// - filter: Set thing must not be logged.
75
+ public static func setFilter(filter: [String]) {
76
+ shared.setFilter(filter: filter)
77
+ }
78
+
79
/// Creates the "Logs" folder inside the user's Documents directory if it does not already exist.
80
///
81
/// This static method delegates to the singleton instance (`shared`) and ensures
0 commit comments