summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLLoggingConfiguration.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLLoggingConfiguration.h')
-rw-r--r--platform/darwin/src/MGLLoggingConfiguration.h29
1 files changed, 17 insertions, 12 deletions
diff --git a/platform/darwin/src/MGLLoggingConfiguration.h b/platform/darwin/src/MGLLoggingConfiguration.h
index d79336df4c..2445078584 100644
--- a/platform/darwin/src/MGLLoggingConfiguration.h
+++ b/platform/darwin/src/MGLLoggingConfiguration.h
@@ -16,33 +16,38 @@ NS_ASSUME_NONNULL_BEGIN
*/
typedef NS_ENUM(NSInteger, MGLLoggingLevel) {
/**
- None-level messages are ignored.
+ None-level won't print any messages.
*/
MGLLoggingLevelNone = 0,
/**
+ Fault-level messages contain system-level error information.
+ */
+ MGLLoggingLevelFault,
+ /**
+ Error-level messages contain information that is intended to aid in process-level
+ errors.
+ */
+ MGLLoggingLevelError,
+ /**
+ Warning-level messages contain warning information for potential risks.
+ */
+ MGLLoggingLevelWarning,
+ /**
Info-level messages contain information that may be helpful for flow tracing
but is not essential.
*/
MGLLoggingLevelInfo,
-#if MGL_LOGGING_ENABLE_DEBUG
/**
Debug-level messages contain information that may be helpful for troubleshooting
specific problems.
*/
+#if MGL_LOGGING_ENABLE_DEBUG
MGLLoggingLevelDebug,
#endif
/**
- Error-level messages contain information that is intended to aid in process-level
- errors.
- */
- MGLLoggingLevelError,
- /**
- Fault-level messages contain system-level error information.
- */
- MGLLoggingLevelFault,
- /**
- :nodoc: Any new logging level should be included in the default logging implementation.
+ Verbose-level will print all messages.
*/
+ MGLLoggingLevelVerbose,
};
/**