Logging

LAST EDIT Mar 05 2021

By default logs are disabled.

You can enable it with different log levels (.error.debug, .info).

1
2
3
import StreamChat 
 
LogConfig.level = .info

⚠️ Using .info and .debug levels for production builds are not recommended.

Options

Copied!
  • for all error logs: .error

  • for all debugging logs: .debug

  • full logs: .info

Examples:

Copied!
  • Only errors:

1
2
3
import StreamChat 
 
LogConfig.level = .error