logWarning method
Pong is worried because we was notified of a problem in the program!
Implementation
@override
void logWarning(String message, [Map<String, String>? extras]) {
_print(
"Mmmmaster, I don't want to worry you, but I think we may have a problem (*μ_μ).");
_print('I was reported of the following warning:\n\n* $message,');
if (extras != null && extras.isNotEmpty) {
_print(
'\nAdditionally, the report also contains several attachements:\n');
extras.forEach(
(key, value) {
_print('* $key: $value');
},
);
}
}