DefaultLogRecordFormatter class
Opinionated log formatter which will give a decent format of LogRecord
and adds stack trace and error messages if they are available.
- Inheritance
-
- Object
- LogRecordFormatter
- DefaultLogRecordFormatter
Constructors
- DefaultLogRecordFormatter({String? prefix})
-
const
- DefaultLogRecordFormatter.withIsolatePrefix()
Properties
Methods
-
format(
LogRecord rec) → String -
inherited
-
formatToStringBuffer(
LogRecord rec, StringBuffer sb) → StringBuffer -
Should write the formatted output of
recintosb.override -
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
-
causedByFetchers
↔ List<
CausedByInfoFetcher> -
getter/setter pair