SwiftLocation icon indicating copy to clipboard operation
SwiftLocation copied to clipboard

How to disable location updates logs?

Open ninholli opened this issue 3 years ago • 3 comments

I want to disable all logs from the SDK. But LocationManager.Logger.isEnabled is internal access.

ninholli avatar Oct 18 '21 04:10 ninholli

i made this one change in a fork and it seems to do the trick.

// SwiftLocation+Errors, line 122 static var isEnabled = false

https://github.com/taarond/SwiftLocation

taarond avatar Nov 08 '21 15:11 taarond

+1

maggnus avatar Jan 30 '22 14:01 maggnus

+1 @taarond can you make the variable public and make a PR

Teglgaard avatar Sep 14 '22 11:09 Teglgaard