success static method
Logs a success message to the console.
It will only print if your app's environment is in debug mode.
You can override this by setting alwaysPrint = true.
Use context to interpolate values into the message, e.g. 'User {id}' with {'id': '123'}.
Implementation
static void success(
dynamic message, {
Map<String, dynamic>? context,
bool alwaysPrint = false,
}) {
_loggerPrint(message ?? "", 'success', alwaysPrint, context: context);
}