LogStyle typedef
Type definition for a function which accepts a log message and returns a styled version of that message.
Generally, AnsiCode values are used to generate a LogStyle.
final alertStyle = (m) => backgroundRed.wrap(styleBold.wrap(white.wrap(m)));
Implementation
typedef LogStyle = String? Function(String? message);