enable static method
Enable logging output.
In release builds this is a no-op unless allowInRelease is true.
Implementation
static void enable({bool allowInRelease = false}) {
if (_isRelease && !allowInRelease) {
_enabled = false;
return;
}
_enabled = true;
}