Commit Graph

6 Commits

Author SHA1 Message Date
Mark Liversedge
130c1d6633 Add Darren Hague copyright message
.. to the ANTLogger code.
2013-05-31 19:02:57 +01:00
Mark Liversedge
2ad917326b ANTLogger farce continues
Fixups after testing this evening - the meta object types
are now registered and the file open/close is called as
needed.
2013-05-14 21:57:52 +01:00
Mark Liversedge
febd10a4c3 ANT Logging Fixups
.. accidentally committed the first half of this update
   alongside some changes to the documentation.

.. basically we now pass ANT messages on the stack rather than
   as a pointer (fixes memory corruption issues).

.. the log file is explicitly opened and closed with status maintained
   alongside that to ensure we only log messages when the logfile is open.

.. This is an alternative fixup to the fix proposed by Jon Escombe in
   pull request #597.
2013-05-14 13:33:06 +01:00
Mark Liversedge
732171b57d Documentation: Makeinfo compatibility
.. only use the @input macro if we're not running info -- we only do that
   to get nice fonts in printed output anyway.
2013-05-14 10:00:00 +01:00
Jon Escombe
695cf78659 Fix QIODevice errors in ANTLogger
Darren Hagues logging code causes issues since the state
of the logger is not reset on close.
2013-04-29 19:18:20 +01:00
dhague
8c06532465 Refactor antlog.bin output into ANTLogger class
ANT.cpp now emits a signal for each ANTMessage
ANTlocalController wires up this signal to a slot in ANTLogger which
writes the message to antlog.bin

Signed-off-by: dhague <darren.hague@fortybeans.com>
2012-12-18 21:22:34 +00:00