resolveLogToConsole static method

bool resolveLogToConsole(
  1. bool? logToConsole, {
  2. APIConfig? apiConfig,
})

Implementation

static bool resolveLogToConsole(bool? logToConsole, {APIConfig? apiConfig}) {
  logToConsole ??= apiConfig?.getPath('log', 'console');

  return logToConsole ?? LoggerHandler.getLogAllTo() == null;
}