enableLogging method

void enableLogging()

Implementation

void enableLogging() {
  loggingEnabled = true;
}