getLogger method

  1. @override
Logger getLogger(
  1. String category
)
override

Request for a Logger instance that will be used for logging occurring on the given category.

It is suggested, but not mandatory, that subsequent calls to this method related to the same category return the same Logger instance.

  • category the log category all messages passed to the given Logger instance will pertain to.

Returns A Logger instance that will receive log lines related to the given category.

Implementation

@override
Logger getLogger(String category) {
  return _ConsoleLogger(_level, category);
}