CLASS
HaapiLogger
Contents
- Properties
followUpTagsisDebugEnabledisDebugEnabledisInfoEnabledisWarningEnabledisErrorEnabledisSensitiveValueMasked
public class HaapiLogger: NSObject
Logger for Haapi.
Properties
followUpTags
public static var followUpTags = [FollowUpTag]()
A list of FollowUpTag. With an empty list, no logs are print. By default, the list is empty.
- Note: Setting
followUpTagsshould be done as early as possible before any Haapi objects are instantiated.
isDebugEnabled
@objc public static var isDebugEnabled = true
isDebugEnabled
When isDebugEnabled is true, debug log statements will be available across the IdsvrHaapi frameworks. Default value is false.
- Note: Setting
isDebugEnabledshould be done as early as possible before any Haapi objects are instantiated.
isInfoEnabled
@objc public static var isInfoEnabled = true
When isInfoEnabled is true, info log statements will be available across the IdsvrHaapi frameworks. Default value is true.
isWarningEnabled
@objc public static var isWarningEnabled = true
When isWarningEnabled is true, warning log statements will be available across the IdsvrHaapi frameworks. Default value is true.
isErrorEnabled
@objc public static var isErrorEnabled = true
When isErrorEnabled is true, warning log statements will be available across the IdsvrHaapi frameworks. Default value is true.
isSensitiveValueMasked
@objc public static var isSensitiveValueMasked = true
When isSensitiveValueMasked is true, data is masked when it is logged. Default value is true.
- Note: It is not secured to set
isSensitiveValueMaskedto false. It should only be used when debugging. Therefore, if it set tofalse, warnings are printed in the console.