DigiaLogLevel enum
How much the Digia SDK logs.
A threshold: the configured level shows itself and everything more severe.
Ordering is none < error < warn < info < debug.
The declaration order below is not severity order, and must not be read
as one. none, error and verbose keep the positions they shipped in;
warn, info and debug are appended so no existing value's index moves.
Comparison goes through the severity mapping in DigiaLogger, never
through Enum.index.
Values
- none → const DigiaLogLevel
-
No logs emitted.
- error → const DigiaLogLevel
-
The SDK could not do the thing: a campaign dropped, an action failed, an invariant violated. The quietest level that still reports failures.
- verbose → const DigiaLogLevel
-
Everything. The original name for what is now debug, and permanently valid — host apps have shipped with it.
- warn → const DigiaLogLevel
-
Degraded but recovered: a field fell back to a default, a retry succeeded. Adds to error.
- info → const DigiaLogLevel
-
Lifecycle milestones: init complete, N campaigns loaded, trigger received. Adds to warn.
- debug → const DigiaLogLevel
-
Per-node, per-frame, per-request detail. Adds to info.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- auto → DigiaLogLevel
-
What an unset DigiaConfig.logLevel resolves to: loud while the host app
is a debug build, quiet in release.
no setter
Constants
-
values
→ const List<
DigiaLogLevel> - A constant List of the values in this enum, in order of their declaration.