dco_decode_log_entry method
Implementation
@protected
LogEntry dco_decode_log_entry(dynamic raw) {
// Codec=Dco (DartCObject based), see doc to use other codecs
final arr = raw as List<dynamic>;
if (arr.length != 4)
throw Exception('unexpected arr length: expect 4 but see ${arr.length}');
return LogEntry(
timeMillis: dco_decode_i_64(arr[0]),
level: dco_decode_i_32(arr[1]),
tag: dco_decode_String(arr[2]),
msg: dco_decode_String(arr[3]),
);
}