Changeset 3021 for box/trunk/lib
- Timestamp:
- 11/10/2011 23:11:54 (8 months ago)
- File:
-
- 1 edited
-
box/trunk/lib/common/Logging.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/lib/common/Logging.cpp
r2984 r3021 470 470 471 471 /* avoid infinite loop if this throws an exception */ 472 Logging::Remove(this); 472 Log::Level oldLevel = GetLevel(); 473 Filter(Log::NOTHING); 473 474 474 475 std::ostringstream buf; … … 510 511 mLogFile.Write(output.c_str(), output.length()); 511 512 512 Logging::Add(this); 513 // no infinite loop, reset to saved logging level 514 Filter(oldLevel); 513 515 return true; 514 516 }
Note: See TracChangeset
for help on using the changeset viewer.
