BrLogLevel enum
Níveis de severidade do BrLogger.
Ordenados do menos ao mais severo. O valor index pode ser usado
para comparações: level.index >= BrLogLevel.warning.index.
- Inheritance
- Available extensions
Values
- trace → const BrLogLevel
-
Informações de rastreamento muito detalhadas, verbosas. Cor: cinza.
- debug → const BrLogLevel
-
Informações úteis durante o desenvolvimento. Cor: azul.
- info → const BrLogLevel
-
Eventos normais do fluxo da aplicação. Cor: verde.
- warning → const BrLogLevel
-
Situações inesperadas que não interrompem o fluxo. Cor: laranja.
- error → const BrLogLevel
-
Erros recuperáveis — operação falhou, mas a app continua. Cor: vermelho.
- fatal → const BrLogLevel
-
Erros críticos — a app não pode continuar normalmente. Cor: vermelho bold.
Properties
- ansiOpen → String
-
Available on BrLogLevel, provided by the BrLogLevelExt extension
Código ANSI de abertura para colorir o output no terminal.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- label → String
-
Available on BrLogLevel, provided by the BrLogLevelExt extension
Rótulo exibido no log (5 chars fixos para alinhar colunas).no setter - 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
Constants
-
values
→ const List<
BrLogLevel> - A constant List of the values in this enum, in order of their declaration.