createLogger method

Logger createLogger(
  1. String name
)

Creates a detached Logger with the specified name, that is linked to the handler and has configured sound Level of level.

Implementation

Logger createLogger(String name) => Logger.detached(name)
  ..level = level
  ..onRecord.listen(handler);