Package io.realm.log
Interface RealmLogger
-
public interface RealmLogger
Interface for custom loggers that can be registered atRealmLog.add(RealmLogger)
. The different log levels are described inLogLevel
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
log(int level, String tag, Throwable throwable, String message)
Handles a log event.
-
-
-
Method Detail
-
log
void log(int level, String tag, @Nullable Throwable throwable, @Nullable String message)
Handles a log event.- Parameters:
level
- for this log event. It can only be a value betweenLogLevel.TRACE
andLogLevel.FATAL
tag
- for this log event.throwable
- optional exception to log.message
- optional additional message.
-
-