Signature for a custom log writer function callback.
typedef LogWriterCallback = void Function(String text, {bool isError});