LoggerHandlerFunction typedef

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

Callback to customize logger output when command is executed.

Implementation

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