MssqlObserverOptions class
How an observer prints and stores bound parameter values.
Values are off by default: a log of WHERE email = @p0 with the address
still in it is a leak, and a password in an exception default is a
password to rotate. Turning values on is an explicit choice for a
local debugging session, and even then names that look like secrets
stay redacted.
- Annotations
-
- @immutable
Constructors
- MssqlObserverOptions({bool includeParameterValues = false, int recorderCapacity = 256})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeParameterValues → bool
-
When true, non-secret parameter values are kept on the event.
final
- recorderCapacity → int
-
How many events MssqlQueryRecorder keeps. Oldest are dropped.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited