LoggerHandlerFunction typedef Null safety

LoggerHandlerFunction = FutureOr<void> Function(CommandContext context, String commandName, Logger logger)

Callback to customize logger output when command is executed.

Implementation

typedef LoggerHandlerFunction = FutureOr<void> Function(CommandContext context, String commandName, Logger logger);