success static method

void success({
  1. String tag = "",
  2. String message = "",
})

Logs a success message.

If in debug mode, prints the message in green color.

tag (optional) Tag to identify the source of the log message.

message The success message to be logged.

Implementation

static void success({String tag = "", String message = ""}) {
  _log('$tag SUCCESS', message, ConsoleStatus.success);
}