1 // logger.hxx - log properties.
2 // Written by David Megginson, started 2002.
4 // This file is in the Public Domain, and comes with no warranty.
10 # error This library requires C++
20 #include <simgear/compiler.h>
21 #include <simgear/debug/logstream.hxx>
22 #include <simgear/structure/exception.hxx>
23 #include <simgear/structure/subsystem_mgr.hxx>
24 #include <simgear/props/props.hxx>
26 SG_USING_STD(ostream);
31 * Log any property values to any number of CSV files.
33 class FGLogger : public SGSubsystem
40 // Implementation of SGSubsystem
42 virtual void reinit ();
44 virtual void unbind ();
45 virtual void update (double dt);
50 * A single instance of a log file (the logger can contain many).
55 vector<SGPropertyNode_ptr> nodes;
66 #endif // __LOGGER_HXX