ApiLoggingConfig class

Constructors

ApiLoggingConfig({bool enabled = true, ApiLoggingLevel level = ApiLoggingLevel.basic, bool logRequestHeaders = false, bool logRequestBody = false, bool logResponseHeaders = false, bool logResponseBody = false, bool logQueryParameters = false, bool logCookies = false, bool showDuration = true, bool showRequestId = false, bool prettyPrintBodies = true, bool useAnsi = false, Set<String> sensitiveKeys = defaultSensitiveKeys, int maxDepth = 6, int maxCollectionItems = 30, int maxStringLength = 500})
const

Properties

enabled → bool
final
hashCode → int
The hash code for this object.
no setterinherited
level → ApiLoggingLevel
final
logCookies → bool
final
logQueryParameters → bool
final
logRequestBody → bool
final
logRequestHeaders → bool
final
logResponseBody → bool
final
logResponseHeaders → bool
final
maxCollectionItems → int
final
maxDepth → int
final
maxStringLength → int
final
prettyPrintBodies → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sensitiveKeys → Set<String>
final
showDuration → bool
final
showRequestId → bool
final
useAnsi → bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve([ApiCallLogOptions? call]) → ApiResolvedLogOptions
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

defaultSensitiveKeys → const Set<String>