Docs Menu

Docs HomeRealm

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.

←  Class RealmLogio.realm.mongodb →
Share Feedback
© 2023 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.