enable static method

void enable()

Enables logging functionality.

After calling this method, subsequent calls to log will print messages when in debug mode.

Implementation

static void enable() => _isEnabled = true;