logger: add -m <mode> and -q <queue_size> parameters, prepare for mavlink backend

This commit is contained in:
Beat Küng
2016-10-19 13:13:47 +02:00
committed by Lorenz Meier
parent 1ddddccb81
commit de20f1778e
4 changed files with 63 additions and 23 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ class Logger
{
public:
Logger(LogWriter::Backend backend, size_t buffer_size, uint32_t log_interval, bool log_on_start,
bool log_until_shutdown, bool log_name_timestamp);
bool log_until_shutdown, bool log_name_timestamp, unsigned int queue_size);
~Logger();