initialize static method

void initialize()

Initialize Logar for the example

Implementation

static void initialize() {
  if (kDebugMode) {
    LogarInjector.instance.initializeForDevelopment(
      minimumLevel: LogLevel.debug,
      globalPrefix: 'LOGAR_EXAMPLE',
    );
  } else {
    LogarInjector.instance.initializeForProduction(
      minimumLevel: LogLevel.info,
      globalPrefix: 'LOGAR_EXAMPLE',
    );
  }
}