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.
12 #include <simgear/compiler.h>
13 #include <simgear/structure/subsystem_mgr.hxx>
16 * Log any property values to any number of CSV files.
18 class FGLogger : public SGSubsystem
25 // Implementation of SGSubsystem
27 virtual void reinit ();
29 virtual void unbind ();
30 virtual void update (double dt);
35 * A single instance of a log file (the logger can contain many).
40 std::vector<SGPropertyNode_ptr> nodes;
41 std::ostream * output;
47 std::vector<Log> _logs;
51 #endif // __LOGGER_HXX