setup static method

void setup({
  1. required Log detail,
  2. required Log err,
  3. required Log warn,
  4. required Log write,
})

Implementation

static void setup({
  required Log detail,
  required Log err,
  required Log warn,
  required Log write,
}) {
  Logger._detail = detail;
  Logger._err = err;
  Logger._warn = warn;
  Logger._write = write;
}