DaveWoodCom / XCGLogger

A debug log framework for use in Swift projects. Allows you to log details to the console (and optionally a file), just like you would have with NSLog() or print(), but with additional information, such as the date, function name, filename and line number.
MIT License
3.94k stars 477 forks source link

Supporting Windows platforms? #321

Open CenoX opened 2 years ago

CenoX commented 2 years ago

Hello!

I'm trying to use Swift from Windows platform since Toolchain released, and I know this project doesn't support Windows officially, but I tried.

so well, I try to build XCGLogger on Windows platform, and ObjcExceptionBridging cause errors like:

error: #import of type library is an unsupported Microsoft feature
error: unknown type name 'NS_INLINE'
error: expected expression
    @try {

etc...

I assume error causes because ObjcExceptionBridging is written in Obj-C.

However, I wonder is there any plan for supporting Windows platform? Thanks in advance.