LogWriterCallback typedef
Signature for log writer functions that can be used to customize logging behavior.
text - The message to be logged
isError - Whether this is an error message
Implementation
typedef LogWriterCallback = void Function(String text, {bool isError});