ReleaseLogs class

Keeps release builds from writing to the device log (Logcat / Console), where other apps, USB debugging and bug reports can read it.

Properties

hashCode → int
The hash code for this object.
no setterinherited
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

Static Properties

isSilenced → bool
Whether silence is in effect.
no setter

Static Methods

restore() → void
Undoes silence.
runSilenced<R>(R body()) → R
Runs body in a zone where print writes nothing.
silence() → void
Makes debugPrint a no-op for the rest of the app's life.