log static method

void log(
  1. dynamic message, [
  2. LogLevel logLevel = LogLevel.VERBOSE
])

Implementation

static void log(dynamic message, [LogLevel logLevel = LogLevel.VERBOSE]) {
  if (_logLevel.index >= logLevel.index) {
    if (message is Object) {
      print(message);
    } else {
      print(message);
    }
  }
}