A typedef representing a callback function for writing logs, typically used in the context of Refreshed.
typedef LogWriterCallback = void Function(String text, {bool isError});