Separate user-facing and debug descriptions

Make debugPrint useful for diagnosis while redacting sensitive values consistently.

SwiftDebugging

Practice

Production logs often call print or string interpolation on a model, while local debugging may use debugPrint. Implement both paths so ordinary logs show only the user's display name, and debug output includes enough context to diagnose identity issues without exposing the full session token.

swift 5.2

Edit the starter code, then Run to compile it and check your answer. Runs Swift 5.2 on the server (Linux); UIKit, SwiftUI, and long-running async are not supported.