Docs Menu
Docs Home
/ /
Atlas Device SDKs
/ / /

Interface RealmLogger

On this page

  • io.realm.log
  • Method Summary
  • Method Detail
  • log

Interface for custom loggers that can be registered at RealmLog.add(RealmLogger) . The different log levels are described in LogLevel .

Modifier and Type
Method and Description
public void
log (
)

Handles a log event.

public void log (
int level,
String tag,
Throwable throwable,
String message
)

Handles a log event.

Parameters

  • level - for this log event. It can only be a value between LogLevel.TRACE and LogLevel.FATAL

  • tag - for this log event.

  • throwable - optional exception to log.

  • message - optional additional message.

Back

RealmLog