AFLogLevel

Severity threshold for SDK and HTTP logging.

Set via AFCoreConfig.Builder (logLevel / httpLogLevel). A level admits its own severity and everything more severe: e.g. WARN emits WARN, ERROR, and ASSERT but suppresses INFO, DEBUG, and VERBOSE. OFF silences a channel entirely.

Severity order, least to most severe: VERBOSE<DEBUG<INFO<WARN<ERROR<ASSERT.

Recommended defaults: WARN (or ERROR) in release builds to keep logs quiet, DEBUG or VERBOSE while integrating. Emitted records are delivered to your AFLogWriter if one is configured.

Entries

Link copied to clipboard

Most detailed tracing — per-request/per-event noise. Development only.

Link copied to clipboard

Diagnostic detail useful while integrating; too noisy for release.

Link copied to clipboard

High-level lifecycle milestones (init, login, sync started/finished).

Link copied to clipboard

Recoverable problems and degraded-but-handled conditions.

Link copied to clipboard

Failures that aborted an operation. A sensible release floor.

Link copied to clipboard

Severe, should-never-happen conditions; the most severe emitting level.

Link copied to clipboard

Disables the channel — no records are emitted at any severity.

Properties

Link copied to clipboard

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

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

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.)

Link copied to clipboard

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