Skip to main content
API Reference NSDK

NSDKLogLevel

Defines the available logging levels for NSDK....

Declaration

enum NSDKLogLevel

Summary

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

NameTypeSummary
case allall
Logs all messages regardless of level.
This is the most verbose logging level and should only be used for debugging.
case debugdebug
Logs debug messages and all higher priority messages.
Debug messages provide detailed information useful for development and troubleshooting.
case errorerror
Logs error messages and fatal messages.
Error messages indicate problems that prevent normal operation or may cause
unexpected behavior.
case infoinfo
Logs informational messages and all higher priority messages.
Info messages provide general information about system operation and state changes.
case offoff
Disables all logging output.
This level completely suppresses all log messages for maximum performance.
case warnwarn
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

NameTypeSummary
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 != b
implies 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