CMS 3D CMS Logo

Namespaces | Macros | Enumerations | Functions
fwLog.h File Reference
#include <iostream>

Go to the source code of this file.

Namespaces

 fwlog
 

Macros

#define fwLog(_level_)   (fwlog::presentLogLevel() > _level_) ? fwlog::logger() : fwlog::logger() << fwlog::levelName(_level_) << ": "
 

Enumerations

enum  fwlog::LogLevel { fwlog::kDebug, fwlog::kInfo, fwlog::kWarning, fwlog::kError }
 

Functions

const char * fwlog::levelName (LogLevel)
 
std::ostream & fwlog::logger ()
 
LogLevel fwlog::presentLogLevel ()
 
void fwlog::setLogger (std::ostream *)
 
void fwlog::setPresentLogLevel (LogLevel)
 

Macro Definition Documentation

◆ fwLog

#define fwLog (   _level_)    (fwlog::presentLogLevel() > _level_) ? fwlog::logger() : fwlog::logger() << fwlog::levelName(_level_) << ": "

Definition at line 45 of file fwLog.h.