LogExceptionModel class
Constructors
- LogExceptionModel({required Object error, required StackTrace stackTrace, LogColor? color, LogBorderType borderType = LogBorderType.single})
- LogExceptionModel.bottom({required Object error, required StackTrace stackTrace, LogColor? color})
- LogExceptionModel.header({required Object error, required StackTrace stackTrace, LogColor? color})
- LogExceptionModel.middle({required Object error, required StackTrace stackTrace, LogColor? color})
- LogExceptionModel.single({required Object error, required StackTrace stackTrace, LogColor? color})
Properties
- borderType → LogBorderType
-
A enum that represents the type of border of your log template
final
- color → LogColor?
-
The color of the text error, stackTrace and borders printed in the log.
final
- error → Object
-
The Exception error that will be logged with .toString().
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace
-
The StackTrace that will be logged with the tracking of the error.
final
Methods
-
copyWith(
{LogBorderType? borderType, LogColor? color, Object? error, StackTrace? stackTrace}) → LogExceptionModel -
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