LogLevel
An enumeration containing the logging levels
@objc public enum LogLevel : Int {
case Verbose = 80
case Debug = 70
case ProtectedWarning = 60
case ProtectedError = 50
case Information = 40
case Warning = 30
case Error = 20
case Critical = 10
case None = 0
public var description: String { get }
}
Only relevant details are shown, boilerplate or standard Swift generated code is omitted
Name | Description |
Additional information that is useful to the framework developer. | |
Any information that is useful to the framework developer. | |
Same as warning but restricted to the developer consuming the framework. | |
Same as error but restricted to the developer consuming the framework. | |
Any information that is useful to the developer consuming the framework. | |
Any instruction that encountered unexpected circumstances, but was able to successfully recover and complete the instruction. | |
Any instruction that encountered unexpected circumstances, and was unable to successfully complete the instruction, but the application is able to continue normal execution. | |
Any instruction that encountered unexpected circumstances, and was unable to successfully complete the instruction, and the application is unable to continue normal execution. | |
No instructions will be logged. |
Name | Type | Description |
String | Returns the description of the specified log level. |
case Verbose
This level is restricted to Sybrin developers only
Additional information that is useful to the framework developer.
case Debug
This level is restricted to Sybrin developers only
Any information that is useful to the framework developer.
case ProtectedWarning
This level is restricted to Sybrin developers only
Same as warning but restricted to the developer consuming the framework.
case ProtectedError
This level is restricted to Sybrin developers only
Same as error but restricted to the developer consuming the framework.
case Information
Any information that is useful to the developer consuming the framework.
case Warning
Any instruction that encountered unexpected circumstances, but was able to successfully recover and complete the instruction.
case Error
Any instruction that encountered unexpected circumstances, and was unable to successfully complete the instruction, but the application is able to continue normal execution.
case Critical
Any instruction that encountered unexpected circumstances, and was unable to successfully complete the instruction, and the application is unable to continue normal execution.
case None
No instructions will be logged.
public var description: String { get }
Example:
"No instructions will be logged"
Returns the description of the specified log level.
Last modified 4mo ago