Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
iOS Documentation
SDLLogLevel

SDLLogLevel Enumeration Reference

Section Contents

Overview

An enum describing a level of logging.

SDLLogLevelDefault

This is used to describe that a “specific” logging will instead use the global log level, for example, a module may use the global log level instead of its own by specifying this level.

Objective-C

SDLLogLevelDefault = -1

Swift

case `default` = -1

SDLLogLevelOff

This is used to describe a level that involves absolutely no logs being output.

Objective-C

SDLLogLevelOff = 0

Swift

case off = 0

SDLLogLevelError

Only error level logs will be output

Objective-C

SDLLogLevelError = SDLLogFlagError

Swift

case error = 1

SDLLogLevelWarning

Both error and warning level logs will be output

Objective-C

SDLLogLevelWarning = (SDLLogFlagError | SDLLogFlagWarning)

Swift

case warning = 3

SDLLogLevelDebug

Error, warning, and debug level logs will be output. This level will never be output in RELEASE environments

Objective-C

SDLLogLevelDebug = (SDLLogFlagWarning | SDLLogFlagDebug)

Swift

case debug = 6

SDLLogLevelVerbose

All level logs will be output. This level will never be output in RELEASE environments

Objective-C

SDLLogLevelVerbose = (SDLLogFlagDebug | SDLLogFlagVerbose)

Swift

case verbose = 12
View on GitHub.com
Previous Section Next Section