Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

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.
  • SDLLogLevelOff: This is used to describe a level that involves absolutely no logs being output.
  • SDLLogLevelError: Only error level logs will be output.
  • SDLLogLevelWarning: Both error and warning level logs will be output.
  • SDLLogLevelDebug: Error, warning, and debug level logs will be output. This level will never be output in RELEASE environments.
  • SDLLogLevelVerbose: All level logs will be output. This level will never be output in RELEASE environments.

SDLLogLevelDefault

Undocumented

Objective-C

SDLLogLevelDefault = -1

Swift

case `default` = -1

SDLLogLevelOff

Undocumented

Objective-C

SDLLogLevelOff = 0

Swift

case off = 0

SDLLogLevelError

Undocumented

Objective-C

SDLLogLevelError = SDLLogFlagError

Swift

case error = 1

SDLLogLevelWarning

Undocumented

Objective-C

SDLLogLevelWarning = (SDLLogFlagError | SDLLogFlagWarning)

Swift

case warning = 3

SDLLogLevelDebug

Undocumented

Objective-C

SDLLogLevelDebug = (SDLLogFlagWarning | SDLLogFlagDebug)

Swift

case debug = 6

SDLLogLevelVerbose

Undocumented

Objective-C

SDLLogLevelVerbose = (SDLLogFlagDebug | SDLLogFlagVerbose)

Swift

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