cLog function

void cLog(
  1. String body, {
  2. String n = 'repad.dev',
})

Logs data in green color in Visual Studio Code (VS Code) console.

Usage:

cLog("This is a green log message");

Implementation

void cLog(
  String body, {
  String n = 'repad.dev',
}) {
  log('\x1B[32m $body \x1B[0m', name: n);
}