PrettyLogger class

Implemented types

Constructors

PrettyLogger({int maxWidth = 90, bool compact = true, void logPrint(Object object) = print})

Properties

compact bool
Print compact json response
final
hashCode int
The hash code for this object.
no setterinherited
logPrint ↔ void Function(Object object)
Log printer; defaults logPrint log to console. In flutter, you'd better use debugPrint. you can also write log in a file.
getter/setter pair
maxWidth int
Width size per logPrint
final
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
onInterceptRequest(BaseRequest request) BaseRequest?
override
onInterceptResponse(Response response) → dynamic
override
toString() String
A string representation of this object.
inherited

Operators

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

Constants

initialTab → const int
InitialTab count to logPrint json response
tabStep → const String
1 tab length