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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`SwiftLog` API adoption?

ostaptyv opened this issue · comments

Hi there!
I think it would be great if XCGLogger adopted Apple-approved general-purpose logging API, which is SwiftLog.

I've seen people make custom wrappers that extend XCGLogger to comply with SwiftLog. But native, out-of-the-box adoption would:

  1. Allow all Apple devs to use the XCGLogger uniformly
  2. It would be much easier to replace the library if someone suddenly realizes it's not the solution that works for them
  3. Automatically unlock the usage for backend Swift development, since it has been created by SSWG (Swift Server Work Group)

What are you thinking about this?