log method

T log({
  1. Object? msg,
  2. String? prefix,
})

Implementation

T log({Object? msg, String? prefix}) {
  logMessage('INFO', msg ?? element, prefix: prefix);
  return this as T;
}