Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 2 and Version 3 of ~archive/OutputHandler


Ignore:
Timestamp:
Aug 22, 2011, 2:07:59 PM (13 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ~archive/OutputHandler

    v2 v3  
    33== Description ==
    44
    5 The [wiki:OutputHandler] acts like std::{{{}}}ostream (by overloading the << operator for all standard types and manipulators) and redirects output to three different streams: The logfile, the executing console and the [wiki:Shell ingame-shell].
     5The OutputHandler acts like std::{{{}}}ostream (by overloading the << operator for all standard types and manipulators) and redirects output to three different streams: The logfile, the executing console and the [wiki:Shell ingame-shell].
    66
    77Every stream has it's own maximal debug-level. Output only gets passed to a stream, if the level of the output is <= the configured level of the stream. To set the level of the output, use '''setOutputLevel('''''level''''')'''. After that, every following output will have this level.
    88
    9 Usually the [wiki:Debug COUT(level) macro] handles this. The [wiki:CoreSettings debug level config values] define the levels of each stream. Read the related wiki-pages for more information. OutputHandler receives the configured output levels as soon as [wiki:CoreSettings] gets created. The [wiki:archive/OutputBuffer] of the Shell will be added as soon as the Shell gets created. OutputHandler uses a fallback OutputBuffer until then.
     9Usually the [wiki:Debug COUT(level) macro] handles this. The [wiki:CoreSettings debug level config values] define the levels of each stream. Read the related wiki-pages for more information. OutputHandler receives the configured output levels as soon as [wiki:CoreSettings] gets created. The [wiki:archive/OutputBuffer OutputBuffer] of the Shell will be added as soon as the Shell gets created. OutputHandler uses a fallback OutputBuffer until then.
    1010
    1111