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.


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


namespace  EMAN
 E2Exception class.


#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.


#define ENTERFUNC   LOGDEBUG("Enter ")

Definition at line 48 of file log.h.


#define EXITFUNC   LOGDEBUG("Exit ")

Definition at line 49 of file log.h.


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

Definition at line 55 of file log.h.


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

Definition at line 51 of file log.h.


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

Definition at line 57 of file log.h.


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

Definition at line 53 of file log.h.