> On 05 Apr 2017, at 16:26, Maxim Veksler via swift-users
> <[email protected]> wrote:
>
> Hi,
>
> Swift 3.1 compiler seems to introduces a new complier warning regarding
> String(describing: )
>
> So this line:
> Log.info("Update name for user \(fbUser)”)
Log.info(“Update name for user \(fbUser ?? “Unknown”)”)
Rien.
>
> Produces the warning: "note: use 'String(describing:)' to silence this
> warning"
>
> and becomes this line
> Log.info("Update name for user \(String(describing: fbUser))")
>
> This new syntax is not very sexy, especially for logging. Any suggestions,
> possibility on the API end of Log to make this warning go away? or write it
> differently.
> _______________________________________________
> swift-users mailing list
> [email protected]
> https://lists.swift.org/mailman/listinfo/swift-users
_______________________________________________
swift-users mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-users