SwiftSDK icon indicating copy to clipboard operation
SwiftSDK copied to clipboard

LogHandler Initialiser Not Public

Open Sherlouk opened this issue 2 years ago • 3 comments

It's not actually possible (from what I can tell) to override the LogHandler implementation as there's no public initialiser.

I want to replace it with an OS Logger implementation to get the benefit of Xcode 15's colour output.

Logger(subsystem: Bundle.main.bundleIdentifier!, category: "TelemetryDeck")

Sherlouk avatar Sep 24 '23 21:09 Sherlouk

Ooh smart, I love it! Wanna make a PR?

winsmith avatar Oct 20 '23 11:10 winsmith

Sorry for delay, opened PR.

Sherlouk avatar Nov 03 '23 20:11 Sherlouk

Can this be merged @winsmith ? Right now it's not possible to change the loglevel

jordibruin avatar Feb 20 '24 15:02 jordibruin