/ SDKs / Unity
SDKs
Calls SDKs Unity v1
Calls SDKs Unity
Calls SDKs
Unity
Version 1

Logger

Copy link

Calls SDK for Unity offers a logging system that allows you to keep track of a number of events and activities while running your app. You can closely monitor the operation of the Calls SDK and improve debug efficiency using our log system.


SbLogLevel

Copy link

To display log output to the console, implement SendbirdCall.SetLogLevel() as shown below:

SendbirdCall.SetLogLevel(SbLogLevel.Info);

Log levels

Copy link

Log levels can be used to control log outputs. If logging is enabled at the specified log level, it also enables logging at all higher levels. The priority level of logs are in the following order: Info (0) < Warning (1) < Error (2) < None (3).

LevelDescription

Info

Logs that track the general events of the Calls SDK.

Warning

Logs that indicate potentially problematic situations.

Error

Logs that represent the failure of the Calls SDK execution.

None (default)

Not used for writing log outputs.