SG LOG: Difference between revisions

Jump to navigation Jump to search
353 bytes added ,  8 March 2015
m
adding quote as pointer, which contains additional info/snippets to be added here at some point
(Cleanup)
m (adding quote as pointer, which contains additional info/snippets to be added here at some point)
Line 6: Line 6:


If you are interested in simply logging certain properties to a file at runtime, you can use either FlightGear's built-in logging framework, or the [[generic protocol]].  See [[Logging properties]] and [[Generic protocol]] for more details.
If you are interested in simply logging certain properties to a file at runtime, you can use either FlightGear's built-in logging framework, or the [[generic protocol]].  See [[Logging properties]] and [[Generic protocol]] for more details.
{{FGCquote
  |The standard mechanism for making FlightGear "log" stuff to the console (or log file) is using the SG_LOG() macro
  |{{cite web |url=http://forum.flightgear.org/viewtopic.php?p=233211#p233211
    |title=<nowiki>Re: 3.4 and the pain begins ...</nowiki>
    |author=<nowiki>Hooray</nowiki>
    |date=<nowiki>Thu Feb 26</nowiki>
  }}
}}


== External links ==
== External links ==

Navigation menu