log

fun log(level: LogLevel = LogLevel.WARN, customLoggers: List<RealmLogger> = emptyList()): AppConfiguration.Builder

Configure how Realm will report log events for this App.

Parameters

level

all events at this level or higher will be reported.

customLoggers

any custom loggers to send log events to. A default system logger is installed by default that will redirect to the common logging framework on the platform, i.e. LogCat on Android and NSLog on iOS.