append method

  1. @override
void append(
  1. LogRecord logRecord
)
override

Appending the given logRecord.

Implementation

@override
void append(LogRecord logRecord) {
  logRecord.loggerName ??= getType();
  var body = LogRecordFormatter.formatJson(logRecord, dateFormat: dateFormat);
  HttpUtils.postForFullResponse(url!, body: body, headers: headers);
}