LogFormatter<TState> typedef

LogFormatter<TState> = String Function(TState state, Object? error)

Function to create a String message of the state and exception.

Implementation

typedef LogFormatter<TState> = String Function(
  TState state,
  Object? error,
);