LogLevel

Package: com.salesforce.marketingcloud.sfmcsdk.components.logging

Type: enum class

Description 

An enumeration defining log levels ordered from most to least permissive. Messages below the configured level are not logged.

“Some Android specific logging levels removed to create parity with iOS.”

Enum Values 

  • DEBUG - Debug level - most verbose logging
  • WARN - Warning level - for potential issues
  • ERROR - Error level - for actual errors
  • NONE - No logging

Properties 

entries 

1val entries: EnumEntries<LogLevel>

Returns a representation of an immutable list of all enum entries, in the order they’re declared.

Functions 

valueOf 

1fun valueOf(value: String): LogLevel

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values 

1fun values(): Array<LogLevel>

Returns an array containing the constants of this enum type, in the order they’re declared.