13,212
edits
(Merge from SG_LOG() and cleanup) |
(Minor changes; +related: Commonly used debugging tools#Console and startup log output) |
||
Line 9: | Line 9: | ||
* <code>alert</code> | * <code>alert</code> | ||
* <code>popup</code> | * <code>popup</code> | ||
And <code>class</code> is a white space | And <code>class</code> is a white space seperated list of any (combination) of the following: | ||
* <code>all</code> | * <code>all</code> | ||
* <code>ai</code> | * <code>ai</code> | ||
* <code>enviroment</code> | * <code>enviroment</code> | ||
* <code>flight</code> | * <code>flight</code> | ||
* etc. | * etc. | ||
For a complete list of available classes, see {{simgear file|simgear/debug/debug_types.h}}. | |||
If you are interested in simply logging certain properties to a file at runtime, you can use either FlightGear's built-in [[Logging properties|logging framework]], or the [[generic protocol]]. | If you are interested in simply logging certain properties to a file at runtime, you can use either FlightGear's built-in [[Logging properties|logging framework]], or the [[generic protocol]]. | ||
== Related content == | == Related content == | ||
=== Wiki articles === | |||
* [[Command line options#Debugging Options]] | * [[Command line options#Debugging Options]] | ||
* [[Commonly used debugging tools#Console and startup log output]] | |||
=== Source code === | |||
=== Source | |||
* {{simgear file|simgear/debug/logstream.cxx}} | * {{simgear file|simgear/debug/logstream.cxx}} | ||
* {{simgear file|simgear/debug/logstream.hxx}} | * {{simgear file|simgear/debug/logstream.hxx}} |