NSDKLogLevel
Defines the available logging levels for NSDK....
Declaration
enum NSDKLogLevelSummary
Defines the available logging levels for NSDK.
NSDKLogLevel controls the verbosity of logging output from the NSDK system.
Logging can be configured separately for stdout, files, and callback functions.
Overview
Log levels follow a hierarchical structure where higher levels include all messages
from lower levels. For example, setting the level to .warn will include warning,
error, and fatal messages, but exclude debug and info messages.
Cases
| Name | Type | Summary |
|---|---|---|
| case all | all | |
| case debug | debug | Logs debug messages and all higher priority messages. Debug messages provide detailed information useful for development and troubleshooting. |
| case error | error | Logs error messages and fatal messages. Error messages indicate problems that prevent normal operation or may cause unexpected behavior. |
| case info | info | Logs informational messages and all higher priority messages. Info messages provide general information about system operation and state changes. |
| case off | off | Disables all logging output. This level completely suppresses all log messages for maximum performance. |
| case warn | warn | Logs warning messages and all higher priority messages. Warning messages indicate potential issues that don't prevent operation but may affect performance or reliability. |
Operators
| Name | Type | Summary |
|---|---|---|
| static func != | Bool | Returns a Boolean value indicating whether two values are not equal. Inequality is the inverse of equality. For any values a and b, a != bimplies that a == b is false.This is the default implementation of the not-equal-to operator ( !=)for any type that conforms to Equatable.- Parameters: - lhs: A value to compare. - rhs: Another value to compare. |
Relationships
conforms to: Swift.Equatable
conforms to: Swift.Hashable
This is the most verbose logging level and should only be used for debugging.