8,217
edits
Changes
SG LOG
,Merge from SG_LOG() and cleanup
== Usage ==Logging settings can be modified using the <code>SG_LOG--log-level=[level]</code> and <code>--log-class=[class]</code> is a wrapper macro for the [[SimGearcommand line]] options. Where <code>logstreamlevel</code> class. By default, is one of the following:* <code>logstreambulk</code>* <code>debug</code>* <code>info</code>* <code>warn</code>* <code>alert</code>* <code>popup</code>And <code> class writes all output to </code> is a white space seperate list of any (combination) of the console. following:* <code>SG_LOGall</code> simplifies debugging for core developers who regularly [[Building FlightGear|compile from source]]* <code>ai</code>* <code>enviroment</code>* <code>flight</code>* etc. It allows you to easily associate your See {{simgear file|simgear/debug messages with a "channel" and with a "priority"/debug_types. This mechanism allows users to explicitly enable to certain log messages, while ignoring others. This can be helpful in order to troubleshoot certain problemsh}} for the complete list of available classes.
== Related content ==
* [[Command line options#Debugging Options]]
== External links ==
=== Source files ===
* {{simgear file|simgear/debug/logstream.cxx}}