/ SDKs / Flutter
Chat SDKs Flutter v3
Chat SDKs Flutter
Chat SDKs
Version 3
Sendbird Chat SDK v3 for Flutter is no longer supported as a new version is released. Check out our latest Chat SDK v4


Copy link

Sendbird Chat SDK for Flutter offers a logging system that allows you to keep track of a number of events and activities including data flow, error, and information while running your application. You can closely monitor the operation of the Sendbird SDK and improve debug efficiency using our logging system.

Log levels

Copy link

// See which platform to match style with. iOS/Android/JS?

Log levels can be used to categorize and control log outputs. The following table lists five different log levels available in the logger in Sendbird Chat SDK for Flutter.



No logs recorded.


Logs what have caused failures in the specific events, but not an SDK-wide failure.


Logs unexpected events which wouldn’t affect the operation of Chat SDK, but might cause problems.


Logs general events of Chat SDK.


Logs everything above.

How to configure the log type

Copy link

The default log type set for Sendbird Chat SDK for Flutter is LogLevel.warning, which means that Sendbird SDK will keep logs of warning messages. You can change the settings through the setLogLevel() method in the SendbirdSdk class as follows:




Specifies the severity level of log to retrieve. One takes precedence over the other in the order of LogLevel.none, LogLevel.info, LogLevel.warning, LogLevel.error, and LogLevel.verbose.

Log filtering

Copy link

All Sendbird Chat SDK log messages are tagged with [Sendbird]. If you want to see the log messages from Sendbird Chat SDK, search for the messages with a keyword [Sendbird].

The following logs show how to read Sendbird Chat SDK logs.

[Sendbird][E] ┌──────────────────────────────────────────────────────────────────
[Sendbird][E] │ 12:39:20.726 (+0:00:39.910310)
[Sendbird][E] ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
[Sendbird][E] │ ⛔ Bad request: Access token is not valid.
[Sendbird][E] └──────────────────────────────────────────────────────────────────
[Sendbird][W] ┌──────────────────────────────────────────────────────────────────
[Sendbird][W] │ 12:39:20.729 (+0:00:39.912508)
[Sendbird][W] ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
[Sendbird][W] │ ⚠️ Failed to update session Instance of 'BadRequestError'
[Sendbird][W] └──────────────────────────────────────────────────────────────────
[Sendbird][I] ┌──────────────────────────────────────────────────────────────────
[Sendbird][I] │ 12:39:20.730 (+0:00:39.914407)
[Sendbird][I] ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
[Sendbird][I] │ 💡 Notifying session token required
[Sendbird][I] └──────────────────────────────────────────────────────────────────