Docs Menu
Docs Home
/ /
Atlas Device SDK
/ / /

클래스 RealmLog

이 페이지의 내용

  • io.realm.log
  • 생성자
  • 메서드 요약
  • 상속된 메서드
  • 생성자 세부 정보
  • 메서드 세부 정보
  • 추가
  • 지우기
  • debug
  • 오류
  • 치명적
  • getLevel
  • 정보
  • registerDefaultLogger
  • 제거
  • setLevel
  • 트레이스
  • 경고
java.lang.Object
io.realm.log.RealmLog

모든 Realm 구성 요소에서 사용하는 글로벌 로거입니다. 사용자 지정 로거는 RealmLogger 를 구현하는 클래스를 등록하여 추가할 수 있습니다.

생성자 및 설명
수정자 및 유형
메서드 및 설명
public static void
add (
)

로그 이벤트에 대한 알림을 받을 로거 구현을 추가합니다.

public static void

모든 로거를 제거합니다.

public static void
Throwable throwable,
String message,
)

LogLevel.DEBUG 이벤트를 기록합니다.

public static void

LogLevel.DEBUG 이벤트를 기록합니다.

public static void
Throwable throwable
)

LogLevel.DEBUG 예외를 기록합니다.

public static void
Throwable throwable,
String message,
)

LogLevel.ERROR 이벤트 를 기록합니다.

public static void

LogLevel.ERROR 이벤트 를 기록합니다.

public static void
Throwable throwable
)

LogLevel.ERROR 예외를 기록합니다.

public static void
Throwable throwable,
String message,
)

LogLevel.FATAL 이벤트를 기록합니다.

public static void

LogLevel.FATAL 이벤트 를 기록합니다.

public static void
Throwable throwable
)

LogLevel.FATAL 예외를 기록합니다.

public static int

현재 LogLevel 을 가져옵니다.

public static void
Throwable throwable,
String message,
)

LogLevel.INFO 이벤트 를 기록합니다.

public static void

LogLevel.INFO 이벤트 를 기록합니다.

public static void
Throwable throwable
)

LogLevel.INFO 예외를 기록합니다.

public static void

이전에 제거된 경우 기본 네이티브 로거를 추가합니다.

public static boolean

특정 로거가 현재 추가되어 있는 경우 해당 로거를 제거합니다.

public static void
int level
)

현재 LogLevel 을 설정합니다.

public static void
Throwable throwable,
String message,
)

LogLevel.TRACE 이벤트 를 기록합니다.

public static void

LogLevel.TRACE 이벤트 를 기록합니다.

public static void
Throwable throwable
)

LogLevel.TRACE 예외를 기록합니다.

public static void
Throwable throwable,
String message,
)

LogLevel.WARN 이벤트 를 기록합니다.

public static void

LogLevel.WARN 이벤트 를 기록합니다.

public static void
Throwable throwable
)

LogLevel.WARN 예외를 기록합니다.

  • 클래스 java.lang.Object 에서 상속된 메서드 : getClass , hashCode , equals , clone , toString , notify , notifyAll , wait , wait , wait , finalize

public RealmLog ()

public static void add (
)

로그 이벤트에 대한 알림을 받을 로거 구현을 추가합니다.

매개변수

public static void clear ()

모든 로거를 제거합니다. 기본값 네이티브 로거도 제거됩니다. RegisterDefaultLogger() 를 사용하여 다시 추가합니다.
public static void debug (
Throwable throwable,
String message,
)

LogLevel.DEBUG 이벤트를 기록합니다.

매개변수

public static void debug (
)

LogLevel.DEBUG 이벤트를 기록합니다.

매개변수

public static void debug (
Throwable throwable
)

LogLevel.DEBUG 예외를 기록합니다.

매개변수

  • throwable - 로그 예외.

public static void error (
Throwable throwable,
String message,
)

LogLevel.ERROR 이벤트 를 기록합니다.

매개변수

public static void error (
)

LogLevel.ERROR 이벤트 를 기록합니다.

매개변수

public static void error (
Throwable throwable
)

LogLevel.ERROR 예외를 기록합니다.

매개변수

  • throwable - 로그 예외.

public static void fatal (
Throwable throwable,
String message,
)

LogLevel.FATAL 이벤트를 기록합니다.

매개변수

public static void fatal (
)

LogLevel.FATAL 이벤트 를 기록합니다.

매개변수

public static void fatal (
Throwable throwable
)

LogLevel.FATAL 예외를 기록합니다.

매개변수

  • throwable - 로그 예외.

public static int getLevel ()

현재 LogLevel 을 가져옵니다.

반환

현재 LogLevel .

public static void info (
Throwable throwable,
String message,
)

LogLevel.INFO 이벤트 를 기록합니다.

매개변수

public static void info (
)

LogLevel.INFO 이벤트 를 기록합니다.

매개변수

public static void info (
Throwable throwable
)

LogLevel.INFO 예외를 기록합니다.

매개변수

  • throwable - 로그 예외.

public static void registerDefaultLogger ()

이전에 제거된 경우 기본 네이티브 로거를 추가합니다. 기본 로거가 이미 등록된 경우 다시 추가되지 않습니다. Android의 기본 로거는 logcat에 기록합니다.
public static boolean remove (
)

특정 로거가 현재 추가되어 있는 경우 해당 로거를 제거합니다.

반환

true 로거가 제거된 경우 false , 그렇지 않으면 .

public static void setLevel (
int level
)

현재 LogLevel 을 설정합니다. 이 값을 설정하면 등록된 모든 로거에 영향을 미칩니다.

매개변수

public static void trace (
Throwable throwable,
String message,
)

LogLevel.TRACE 이벤트 를 기록합니다.

매개변수

public static void trace (
)

LogLevel.TRACE 이벤트 를 기록합니다.

매개변수

public static void trace (
Throwable throwable
)

LogLevel.TRACE 예외를 기록합니다.

매개변수

  • throwable - 로그 예외.

public static void warn (
Throwable throwable,
String message,
)

LogLevel.WARN 이벤트 를 기록합니다.

매개변수

public static void warn (
)

LogLevel.WARN 이벤트 를 기록합니다.

매개변수

public static void warn (
Throwable throwable
)

LogLevel.WARN 예외를 기록합니다.

매개변수

  • throwable - 로그 예외.

돌아가기

로그 레벨