TalkerDioLoggerSettings class

TalkerDioLogger settings and customization

Constructors

TalkerDioLoggerSettings({bool printResponseData = true, bool printResponseHeaders = false, bool printResponseMessage = true, bool printRequestData = true, bool printRequestHeaders = false, AnsiPen? requestPen, AnsiPen? responsePen, AnsiPen? errorPen})
const

Properties

errorPen → AnsiPen?
Field to set custom http error console logs color
final
hashCode int
The hash code for this object.
no setterinherited
printRequestData bool
Print request.data if true
final
printRequestHeaders bool
Print request.headers if true
final
printResponseData bool
Print response.data if true
final
printResponseHeaders bool
Print response.headers if true
final
printResponseMessage bool
Print response.statusMessage if true
final
requestPen → AnsiPen?
Field to set custom http request console logs color
final
responsePen → AnsiPen?
Field to set custom http response console logs color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({bool? printResponseData, bool? printResponseHeaders, bool? printResponseMessage, bool? printRequestData, bool? printRequestHeaders, AnsiPen? requestPen, AnsiPen? responsePen, AnsiPen? errorPen}) TalkerDioLoggerSettings
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