onRecord method
Called when a notice is recorded.
Implementation
@override
void onRecord(NoticeRecord record) {
final context = writer.context();
final string = formatter.format(record, context);
writer.write(string);
}
Called when a notice is recorded.
@override
void onRecord(NoticeRecord record) {
final context = writer.context();
final string = formatter.format(record, context);
writer.write(string);
}