Skip to navigation

Send an app log

Use the SDK log method to send a text message to the app’s recent log list. The dashboard can also forward selected app events to configured webhooks. Do not include passwords, license keys, session tokens or other secrets in log text.

SDK version: V3 Beta. These examples use the current downloads. V1 and V2 use different APIs; choose them in the version selector.

Each example assumes app is the AuthlyX client you created in Connect your app. When a method takes a callback, AuthlyX calls it after the reply arrives. A name such as result inside that callback is created there; you do not declare it at the top of your file. For C++ futures, Python or JavaScript await, Java futures, Go errors and Rust ?, read Results.

app.log("User opened settings", result => Console.WriteLine(result.message));

Logs are for recent troubleshooting. They are not an audit trail for account changes. Keep the message short and avoid sending sensitive customer data.