Open neilt opened 5 years ago
ObjcExceptionBridging stuff aim to catch obj runtime errors https://github.com/DaveWoodCom/XCGLogger/blob/64dce71f6b8657df1aa7ab94cf748dad744b69af/Sources/XCGLogger/Misc/HelperFunctions.swift#L28
inside FileDestination
https://github.com/DaveWoodCom/XCGLogger/blob/64dce71f6b8657df1aa7ab94cf748dad744b69af/Sources/XCGLogger/Destinations/FileDestination.swift#L106
so @neilt you can PR on HelperFunctions.swift
import
and on the two _try_objc
call
Tried to use XCGLogger in Fedora 30 with swift-lang.
Get the following error:
XCGLogger is being installed using:
1) Is there a way to install using the package manager without ObjcExceptionBridging since linux does not have the Objc runtime?
2) Any chance of making XCGLogger work with linux using
#if
statements? Maybe#if !os(linux)
around the ObjcExceptionBridging stuff.3) Maybe there are other reasons this will never work and it is futile to try? If so, what reasons?
BTW This is on