MoEngageConsoleLogConfig

@objc
public class MoEngageConsoleLogConfig : NSObject, MoEngageDictionaryConvertible, MoEngageStringConvertibleModel

Model class to enable console logging and logLevel

  • Bool to enable/disable console logging

    Declaration

    Swift

    @objc
    public let isLoggingEnabled: Bool
  • MoEngageLoggerType to enable console logging of ‘loglevel’ type and above.

    Declaration

    Swift

    @objc
    public let loglevel: MoEngageLoggerType

Initialization

  • Initialize instance of MoEngageConsoleLogConfig

    Declaration

    Swift

    @objc
    public init(isLoggingEnabled: Bool, loglevel: MoEngageLoggerType)

    Parameters

    isLoggingEnabled

    Bool value to enable/disable console logs.

    loglevel

    MoEngageLoggerType to enable console logging of ‘loglevel’ type and above.