logWithPrefix method
Log with custom prefix
Implementation
void logWithPrefix(String prefix, String message, {bool isError = false}) {
if (!enabled) return;
final color = isError ? _red : _cyan;
_outputLine('$color$prefix$_reset $message');
}
Log with custom prefix
void logWithPrefix(String prefix, String message, {bool isError = false}) {
if (!enabled) return;
final color = isError ? _red : _cyan;
_outputLine('$color$prefix$_reset $message');
}