EMAN2
Classes | Namespaces | Macros
log.h File Reference
#include <cstdarg>
#include <string>
Include dependency graph for log.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  EMAN::Log
 Log defines a way to output logging information. More...
 

Namespaces

namespace  EMAN
 E2Exception class.
 

Macros

#define __func__   ""
 
#define ENTERFUNC   LOGDEBUG("Enter ")
 
#define EXITFUNC   LOGDEBUG("Exit ")
 
#define LOGERR   Log::logger()->loc(Log::ERROR_LOG, __FILE__, __LINE__, __func__); Log::logger()->error
 
#define LOGWARN   Log::logger()->loc(Log::WARNING_LOG, __FILE__, __LINE__, __func__); Log::logger()->warn
 
#define LOGDEBUG   Log::logger()->loc(Log::DEBUG_LOG, __FILE__, __LINE__, __func__); Log::logger()->debug
 
#define LOGVAR   Log::logger()->loc(Log::VARIABLE_LOG, __FILE__, __LINE__, __func__); Log::logger()->variable
 

Macro Definition Documentation

◆ __func__

#define __func__   ""

Definition at line 44 of file log.h.

◆ ENTERFUNC

#define ENTERFUNC   LOGDEBUG("Enter ")

Definition at line 48 of file log.h.

◆ EXITFUNC

#define EXITFUNC   LOGDEBUG("Exit ")

Definition at line 49 of file log.h.

◆ LOGDEBUG

#define LOGDEBUG   Log::logger()->loc(Log::DEBUG_LOG, __FILE__, __LINE__, __func__); Log::logger()->debug

Definition at line 55 of file log.h.

◆ LOGERR

#define LOGERR   Log::logger()->loc(Log::ERROR_LOG, __FILE__, __LINE__, __func__); Log::logger()->error

Definition at line 51 of file log.h.

◆ LOGVAR

#define LOGVAR   Log::logger()->loc(Log::VARIABLE_LOG, __FILE__, __LINE__, __func__); Log::logger()->variable

Definition at line 57 of file log.h.

◆ LOGWARN

#define LOGWARN   Log::logger()->loc(Log::WARNING_LOG, __FILE__, __LINE__, __func__); Log::logger()->warn

Definition at line 53 of file log.h.