centrifugal / centrifuge-swift

Swift client SDK for bidirectional real-time communication with Centrifugo and Centrifuge-based server over WebSocket
MIT License
47 stars 41 forks source link

Improve logger API: replace String with StaticString #74

Closed antonselyanin closed 1 year ago

antonselyanin commented 1 year ago

Replace String with StaticString for file and function parameters. StaticString is more general, instances can be created only during compilation time (String can't be converted to StaticString).

Some logger libraries actually use StaticString. This PR makes it easier to integrate those libraries.

FZambia commented 1 year ago

Thanks!