printWarning function
Print a message to the console.
Log level: Warning
Use context to interpolate values into the message, e.g. 'User {id}' with {'id': '123'}.
Implementation
void printWarning(
dynamic message, {
Map<String, dynamic>? context,
bool alwaysPrint = false,
}) {
NyLogger.warning(message, context: context, alwaysPrint: alwaysPrint);
}