RLMLogLevel

Objective-C

enum RLMLogLevel : NSUInteger {}

Swift

@frozen enum LogLevel : UInt, @unchecked Sendable

An enum representing different levels of sync-related logging that can be configured.

  • Nothing will ever be logged.

    Declaration

    Objective-C

    RLMLogLevelOff

    Swift

    case off = 0
  • Only fatal errors will be logged.

    Declaration

    Objective-C

    RLMLogLevelFatal

    Swift

    case fatal = 1
  • Only errors will be logged.

    Declaration

    Objective-C

    RLMLogLevelError

    Swift

    case error = 2
  • Warnings and errors will be logged.

    Declaration

    Objective-C

    RLMLogLevelWarn

    Swift

    case warn = 3
  • Information about sync events will be logged. Fewer events will be logged in order to avoid overhead.

    Declaration

    Objective-C

    RLMLogLevelInfo

    Swift

    case info = 4
  • Information about sync events will be logged. More events will be logged than with RLMLogLevelInfo.

    Declaration

    Objective-C

    RLMLogLevelDetail

    Swift

    case detail = 5
  • Log information that can aid in debugging.

    - warning: Will incur a measurable performance impact.
    

    Declaration

    Objective-C

    RLMLogLevelDebug

    Swift

    case debug = 6
  • Log information that can aid in debugging. More events will be logged than with RLMLogLevelDebug.

    - warning: Will incur a measurable performance impact.
    

    Declaration

    Objective-C

    RLMLogLevelTrace

    Swift

    case trace = 7
  • Log information that can aid in debugging. More events will be logged than with RLMLogLevelTrace.

    - warning: Will incur a measurable performance impact.
    

    Declaration

    Objective-C

    RLMLogLevelAll

    Swift

    case all = 8