Logger
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
To display log output to the console, implement SendbirdCall.SetLogLevel()
as shown below:
Log levels
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)
.
Level | Description |
---|---|
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. |