Changes between Version 1 and Version 2 of CodeComprehension
- Timestamp:
- Jun 16, 2011, 3:29:19 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodeComprehension
v1 v2 47 47 All output is not done via std::cout or std::cerr but via logger and errorlogger classes, that can be used like this 48 48 {{{ 49 DoLog(?) && (Log() << Verbose(?) << "blabla");49 LOG(?) << blabla; 50 50 }}} 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). 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). And ''endl'' is added automatically. 52 52 53 Note that the errorlogger is for errors and warnings only and has the same way of calling, just replace "L og" with "eLog" everywhere(!).53 Note that the errorlogger is for errors and warnings only and has the same way of calling, just replace "LOG" with "ELOG" everywhere(!). 54 54 55 55 === Others ===