/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Namespaces | Defines | Enumerations | Variables
LafLog.h File Reference
#include <iostream>
#include <iomanip>
Include dependency graph for LafLog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  LafLog

Defines

#define LogDebug
#define LogInfo
#define LogWarn
#define LogError
#define LogFatal
#define LogAlways   std::cout << std::setiosflags(std::ios::left) << std::setw(24) << (this->name()+'.'+__func__) << " ALWAYS: "

Enumerations

enum  {
  LafLog::Debug = 2, LafLog::Info = 3, LafLog::Warn = 4, LafLog::Error = 5,
  LafLog::Fatal = 6
}

Variables

int LafLog::LogLevel = 0

Define Documentation

#define LogDebug
Value:
if (LafLog::LogLevel <= LafLog::Debug ) \
    std::cout << std::setiosflags(std::ios::left) << std::setw(24) << (this->name()+'.'+__func__) << "  DEBUG: "

Definition at line 21 of file LafLog.h.

#define LogInfo
Value:
if (LafLog::LogLevel <= LafLog::Info ) \
    std::cout << std::setiosflags(std::ios::left) << std::setw(24) << (this->name()+'.'+__func__) << "   INFO: "

Definition at line 24 of file LafLog.h.

#define LogWarn
Value:
if (LafLog::LogLevel <= LafLog::Warn ) \
    std::cout << std::setiosflags(std::ios::left) << std::setw(24) << (this->name()+'.'+__func__) << "   WARN: "

Definition at line 27 of file LafLog.h.

#define LogError
Value:
if (LafLog::LogLevel <= LafLog::Error ) \
    std::cout << std::setiosflags(std::ios::left) << std::setw(24) << (this->name()+'.'+__func__) << "  ERROR: "

Definition at line 30 of file LafLog.h.

#define LogFatal
Value:
if (LafLog::LogLevel <= LafLog::Fatal ) \
    std::cout << std::setiosflags(std::ios::left) << std::setw(24) << (this->name()+'.'+__func__) << "  FATAL: "

Definition at line 33 of file LafLog.h.

#define LogAlways   std::cout << std::setiosflags(std::ios::left) << std::setw(24) << (this->name()+'.'+__func__) << " ALWAYS: "

Definition at line 36 of file LafLog.h.

| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:50:18 for LafKernel by doxygen 1.7.4