All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros
OpT0FinderLogger.h File Reference

logger utility class definition header file. More...

#include <cstdio>
#include <iostream>
#include <map>
#include "OpT0FinderTypes.h"

Go to the source code of this file.

Classes

class  flashmatch::logger
 Utility class used to show formatted message on the screen. A logger class for flashmatch. Simply shows a formatted colored message on a screen.
A static getter method is provided to create a sharable logger instance (see OpT0FinderBase for useage).
. More...
 

Namespaces

 flashmatch
 

Macros

#define FLASH_DEBUG()   if( logger().debug () ) logger().send(::flashmatch::msg::kDEBUG, __FUNCTION__, __LINE__, __FILE__)
 Compiler macro for DEBUG message. More...
 
#define FLASH_INFO()   if( logger().info () ) logger().send(::flashmatch::msg::kINFO, __FUNCTION__, __LINE__ )
 Compiler macro for INFO message. More...
 
#define FLASH_NORMAL()   if( logger().normal () ) logger().send(::flashmatch::msg::kNORMAL, __FUNCTION__ )
 Compiler macro for NORMAL message. More...
 
#define FLASH_WARNING()   if( logger().warning () ) logger().send(::flashmatch::msg::kWARNING, __FUNCTION__ )
 Compiler macro for WARNING message. More...
 
#define FLASH_ERROR()   if( logger().error () ) logger().send(::flashmatch::msg::kERROR, __FUNCTION__, __LINE__ )
 Compiler macro for ERROR message. More...
 
#define FLASH_CRITICAL()   logger().send(::flashmatch::msg::kCRITICAL, __FUNCTION__, __LINE__, __FILE__)
 Compiler macro for CRITICAL message. More...
 

Detailed Description

logger utility class definition header file.

Author
Kazu - Nevis 2015

Definition in file OpT0FinderLogger.h.