debug property
bool
get
debug
Turns debug mode on or off. If debug is enabled SDK will attempt to print out useful debugging information if something goes wrong. Default is disabled.
Implementation
bool get debug => _debug;
set
debug
(bool newValue)
Implementation
set debug(bool newValue) {
_debug = newValue;
// ignore: deprecated_member_use_from_same_package
if (_debug == true && logger == noOpLogger) {
_logger = _debugLogger;
}
if (_debug == false && logger == _debugLogger) {
// ignore: deprecated_member_use_from_same_package
_logger = noOpLogger;
}
}