configureForRuntime static method

void configureForRuntime(
  1. Runtime runtime
)

Configure this class for use in a Runtime

Implementation

static void configureForRuntime(Runtime runtime) {
  runtime.registerBridgeFunc(
    'package:logging/src/logger.dart',
    'Logger.',
    $Logger.$new,
  );

  runtime.registerBridgeFunc(
    'package:logging/src/logger.dart',
    'Logger.detached',
    $Logger.$detached,
  );

  runtime.registerBridgeFunc(
    'package:logging/src/logger.dart',
    'Logger.root*g',
    $Logger.$root,
  );

  runtime.registerBridgeFunc(
    'package:logging/src/logger.dart',
    'Logger.attachedLoggers*g',
    $Logger.$attachedLoggers,
  );
}