LogFile puts timestamp before entry, CRLF after.

This commit is contained in:
Jared Boone
2015-12-02 14:05:25 -08:00
parent 76845c4335
commit bfcd25d857
5 changed files with 34 additions and 29 deletions
+1 -2
View File
@@ -299,8 +299,7 @@ bool AISModel::on_packet(const baseband::ais::Packet& packet) {
entry += (nibble >= 10) ? ('W' + nibble) : ('0' + nibble);
}
entry += "\r\n";
log_file.write(entry);
log_file.write_entry(entry);
}
return true;