isEchoNeeded method

bool isEchoNeeded(
  1. LogLevel logLevel
)

Internal method used to determine whether echo back needed.

If you want change echo function, override this method.

Implementation

bool isEchoNeeded(LogLevel logLevel) {
  if (kReleaseMode) {
    return false;
  }
  if (Platform.isAndroid) {
    return false;
  }
  return true;
}