PSPDFLogLevelMask
NS_OPTIONS(NSUInteger, PSPDFLogLevelMask) {
/// Log nothing.
PSPDFLogLevelMaskNothing = 0,
/**
Logs critical issues, that can break or limit the functionality of the framework.
Should never be disabled.
*/
PSPDFLogLevelMaskCritical = 1 << 0,
/// Logs errors. Should never be disabled.
PSPDFLogLevelMaskError = 1 << 1,
/// Logs issues that are not errors or critical, but log-worthy.
PSPDFLogLevelMaskWarning = 1 << 2,
/// Logs important operations.
PSPDFLogLevelMaskInfo = 1 << 3,
/// Will log almost everything and slow down the application flow.
PSPDFLogLevelMaskDebug = 1 << 4,
/**
Might log security related details like signature points.
Never enable this in release builds unless they are solely for testing.
*/
PSPDFLogLevelMaskVerbose = 1 << 5,
/// Enables all logging categories.
PSPDFLogLevelMaskAll = UINT_MAX,
}
Undocumented
-
Log nothing.
Declaration
Objective-C
PSPDFLogLevelMaskNothing = 0
-
Logs critical issues, that can break or limit the functionality of the framework. Should never be disabled.
Declaration
Objective-C
PSPDFLogLevelMaskCritical = 1 << 0
Swift
static var critical: PSPDFLogLevelMask { get }
-
Logs errors. Should never be disabled.
Declaration
Objective-C
PSPDFLogLevelMaskError = 1 << 1
Swift
static var error: PSPDFLogLevelMask { get }
-
Logs issues that are not errors or critical, but log-worthy.
Declaration
Objective-C
PSPDFLogLevelMaskWarning = 1 << 2
Swift
static var warning: PSPDFLogLevelMask { get }
-
Logs important operations.
Declaration
Objective-C
PSPDFLogLevelMaskInfo = 1 << 3
Swift
static var info: PSPDFLogLevelMask { get }
-
Will log almost everything and slow down the application flow.
Declaration
Objective-C
PSPDFLogLevelMaskDebug = 1 << 4
Swift
static var debug: PSPDFLogLevelMask { get }
-
Might log security related details like signature points. Never enable this in release builds unless they are solely for testing.
Declaration
Objective-C
PSPDFLogLevelMaskVerbose = 1 << 5
Swift
static var verbose: PSPDFLogLevelMask { get }
-
Enables all logging categories.
Declaration
Objective-C
PSPDFLogLevelMaskAll = (2147483647 * 2U + 1U)
Swift
static var all: PSPDFLogLevelMask { get }