SG LOG: Difference between revisions

Jump to navigation Jump to search
103 bytes added ,  20 July 2023
(Added info about file/line numbers in logging, and SG_LOG_DELTAS.)
Line 32: Line 32:
For example one can increase debugging diagnostics from scenery paging code with:
For example one can increase debugging diagnostics from scenery paging code with:


<code>SG_LOG_DELTAS=flightgear/src/Scenery/SceneryPager.cxx=+3 fgfs.exe ...</code>
<code>SG_LOG_DELTAS=src/Scenery/SceneryPager.cxx=+3 fgfs.exe ...</code>


For details see: {{simgear file|simgear/debug/logdelta.hxx}}.
Or set to <code>=-5</code> to reduce all diagnostics by 5:
 
<code>SG_LOG_DELTAS==-5 fgfs.exe ...</code>
 
For more information see: {{simgear file|simgear/debug/logdelta.hxx}}.


== Related content ==
== Related content ==
219

edits

Navigation menu