logger property
Logger
logger
getter/setter pair
Logger instance that formats and prints logs.
The logger uses a PrettyPrinter
to format the log messages.
The output is displayed only if the app is running in debug mode.
Implementation
var logger = Logger(
filter: null, // Use the default LogFilter (-> only log in debug mode)
printer: PrettyPrinter(), // Use the PrettyPrinter to format and print log
output: null,
);