formatLogMessage method

String formatLogMessage(
  1. String msg
)

Implementation

String formatLogMessage(String msg) {
  if (logName != null) {
    return '[$logName] $msg';
  }
  return msg;
}