createWorker static method

void createWorker(
  1. String id,
  2. Map<String, dynamic> config
)

Creates a logger worker in the isolate. id is the unique identifier for the worker. config is the configuration map for the worker.

Implementation

static void createWorker(String id, Map<String, dynamic> config) {
  _send(CreateWorkerCommand(id, config));
}