CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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);