iOS SDK

API Reference

On This Page

MGLLoggingLevel

enum MGLLoggingLevel {}

Constants indicating the message’s logging level.

MGLLoggingLevelNone

None-level won’t print any messages.

Declaration

Objective-C

MGLLoggingLevelNone = 0

Swift

case none = 0

MGLLoggingLevelFault

Fault-level messages contain system-level error information.

Declaration

Objective-C

MGLLoggingLevelFault

Swift

case fault = 1

MGLLoggingLevelError

Error-level messages contain information that is intended to aid in process-level errors.

Declaration

Objective-C

MGLLoggingLevelError

Swift

case error = 2

MGLLoggingLevelWarning

Warning-level messages contain warning information for potential risks.

Declaration

Objective-C

MGLLoggingLevelWarning

Swift

case warning = 3

MGLLoggingLevelInfo

Info-level messages contain information that may be helpful for flow tracing but is not essential.

Declaration

Objective-C

MGLLoggingLevelInfo

Swift

case info = 4

MGLLoggingLevelVerbose

Verbose-level will print all messages.

Declaration

Objective-C

MGLLoggingLevelVerbose

Swift

case verbose = 6