c static method

String c(
  1. Object e, {
  2. StackTrace? st,
})

log the error to the console only

Implementation

static String c(Object e, {StackTrace? st}) {
  final _msg =
      'LOG : [${dt.toIso8601String()}] $e ${st != null ? '\n $st' : ''}';
  print(_msg);
  return _msg;
}