LoggerHandlerFunction typedef

FutureOr<void> LoggerHandlerFunction (
  1. CommandContext context,
  2. String commandName,
  3. Logger logger
)

Callback to customize logger output when command is executed.

Implementation

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