CLASS

HaapiLogger

Contents

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.

isDebugEnabled

@objc public static var isDebugEnabled: Bool

When isDebugEnabled is true, debug log statements will be available across the IdsvrHaapi frameworks. Default value is false.

isInfoEnabled

@objc public static var isInfoEnabled: Bool

When isInfoEnabled is true, info log statements will be available across the IdsvrHaapi frameworks. Default value is true.

isWarningEnabled

@objc public static var isWarningEnabled: Bool

When isWarningEnabled is true, warning log statements will be available across the IdsvrHaapi frameworks. Default value is true.

isErrorEnabled

@objc public static var isErrorEnabled: Bool

When isErrorEnabled is true, warning log statements will be available across the IdsvrHaapi frameworks. Default value is true.

isSensitiveValueMasked

@objc public static var isSensitiveValueMasked: Bool

When isSensitiveValueMasked is true, data is masked when it is logged. Default value is true.

Methods

appendLogSink(_:)

public static func appendLogSink(_ logSink: LogSink)

Appends a log sink to the HaapiLogger.

Parameters

Name Description
logSink A log sink.