centrifugal / centrifuge-swift

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

Improve logger API: replace String with StaticString #74

Closed antonselyanin closed 2 years ago

antonselyanin commented 2 years 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 2 years ago

Thanks!