CMS 3D CMS Logo

fwLog Class Reference

#include <Fireworks/Core/interface/fwLog.h>


Detailed Description

Description: Simple logging utility

Usage: To send a message to the logger fwLog(kDebug) << "This is my message"<<std::endl;

To change the message levels which will be recorded fwlog::setPresentLevel(kDebug);

To change where the messages go, just pass the address of an instance of std::ostream fwlog::setLogger(&std::cerr);