LogSimplePrint class Impressoras de Log

Impressora simples de logs.

Implementação mínima de LogPrinterBase que imprime mensagens sem códigos ANSI (sem cor) usando debugPrint. É útil para ambientes onde a saída colorida não é desejada (por exemplo logs em consoles que não suportam ANSI).

Exemplo de uso:

registerLogPrinter(
  const LogSimplePrint(),
  config: const ConfigLog(enableLog: true),
);
Inheritance

Constructors

LogSimplePrint()
Construtor const para permitir uso como constante quando configurado.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
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
printLog(LoggerObjectBase log) → void
Imprime o log em formato simples.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited