Changes between Version 1 and Version 2 of CodeComprehension


Ignore:
Timestamp:
Jun 16, 2011, 3:29:19 PM (14 years ago)
Author:
FrederikHeber
Comment:

changed to LOG

Legend:

Unmodified
Added
Removed
Modified
  • CodeComprehension

    v1 v2  
    4747All output is not done via std::cout or std::cerr but via logger and errorlogger classes, that can be used like this
    4848{{{
    49 DoLog(?) && (Log() << Verbose(?) << "blabla");
     49LOG(?) << blabla;
    5050}}}
    51 where "blabla" can be anything you want, also: "<< *Walker << " at position " << Walker->x <<" (i.e. concatenated stream operations). Note that '''?''' has to be replaced by a number marking the urgency of the message, where 0 is absolutely urgent, while 9 is absolutely not (depending on the verbosity level the user has specified).
     51where "blabla" can be anything you want, also: "<< *Walker << " at position " << Walker->x <<" (i.e. concatenated stream operations). Note that '''?''' has to be replaced by a number marking the urgency of the message, where 0 is absolutely urgent, while 9 is absolutely not (depending on the verbosity level the user has specified). And ''endl'' is added automatically.
    5252
    53 Note that the errorlogger is for errors and warnings only and has the same way of calling, just replace "Log" with "eLog" everywhere(!).
     53Note that the errorlogger is for errors and warnings only and has the same way of calling, just replace "LOG" with "ELOG" everywhere(!).
    5454
    5555=== Others ===