push method

  1. @override
void push(
  1. BaseLog log
)
override

Implementation

@override
void push(log) {
  if (log.type == LogType.message) {
    final message = log as Message;
    final text = '${message.fileName} ${message.lineNumber} ${message.message}';
    // ignore: avoid_print
    print('${message.severity} $text');
  }

}