getLogger function

Logger getLogger(
  1. String className, {
  2. LogPrinter? logPrinter,
})

Implementation

Logger getLogger(String className, {LogPrinter? logPrinter}) {
  return Logger(printer: logPrinter ?? PrettyPrinter());
}