Skip to content

Commit fdbb121

Browse files
authored
Fixes default logging level (#3959)
After upgrade to MapboxCommon the API for setting default logging level was changed. This PR adopts new API.
1 parent 60237e3 commit fdbb121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/MapboxCoreNavigation/NativeHandlersFactory.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class NativeHandlersFactory {
5454
lazy var navigator: MapboxNavigationNative.Navigator = {
5555
onMainQueueSync { // Make sure that Navigator pick ups Main Thread RunLoop.
5656
let loggingLevel = NSNumber(value: LoggingLevel.info.rawValue)
57-
LogConfiguration.setLoggingLevelForCategory("*", upTo: loggingLevel)
57+
LogConfiguration.setLoggingLevelForUpTo(loggingLevel)
5858

5959
let router = routingProviderSource.map {
6060
MapboxNavigationNative.RouterFactory.build(for: $0,

0 commit comments

Comments
 (0)