MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
log.h File Reference
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.

Macros

#define GetMagickModule()   __FILE__,__func__,(unsigned long) __LINE__
 
#define MagickLogFilename   "log.xml"
 

Typedefs

typedef struct _LogInfo LogInfo
 
typedef void(* MagickLogMethod) (const LogEventType, const char *)
 

Enumerations

enum  LogEventType {
  UndefinedEvents = 0x000000 , NoEvents = 0x00000 , AccelerateEvent = 0x00001 , AnnotateEvent = 0x00002 ,
  BlobEvent = 0x00004 , CacheEvent = 0x00008 , CoderEvent = 0x00010 , ConfigureEvent = 0x00020 ,
  DeprecateEvent = 0x00040 , DrawEvent = 0x00080 , ExceptionEvent = 0x00100 , ImageEvent = 0x00200 ,
  LocaleEvent = 0x00400 , ModuleEvent = 0x00800 , PixelEvent = 0x01000 , PolicyEvent = 0x02000 ,
  ResourceEvent = 0x04000 , TraceEvent = 0x08000 , TransformEvent = 0x10000 , UserEvent = 0x20000 ,
  WandEvent = 0x40000 , X11Event = 0x80000 , CommandEvent = 0x100000 , AllEvents = 0x7fffffff
}
 

Functions

MagickExport char ** GetLogList (const char *, size_t *, ExceptionInfo *)
 
MagickExport const char * GetLogName (void) magick_attribute((__pure__))
 
MagickExport const char * SetLogName (const char *)
 
MagickExport LogEventType GetLogEventMask (void) magick_attribute((__pure__))
 
MagickExport const LogInfo ** GetLogInfoList (const char *, size_t *, ExceptionInfo *)
 
MagickExport LogEventType SetLogEventMask (const char *)
 
MagickExport MagickBooleanType IsEventLogging (void) magick_attribute((__pure__))
 
MagickExport MagickBooleanType ListLogInfo (FILE *, ExceptionInfo *)
 
MagickExport MagickBooleanType LogMagickEvent (const LogEventType, const char *, const char *, const size_t, const char *,...) magick_attribute((__format__(__printf__
 
MagickExport MagickBooleanType LogMagickEventList (const LogEventType, const char *, const char *, const size_t, const char *, va_list) magick_attribute((__format__(__printf__
 
MagickExport MagickBooleanType MagickExport void CloseMagickLog (void)
 
MagickExport MagickBooleanType MagickExport void SetLogFormat (const char *)
 
MagickExport MagickBooleanType MagickExport void SetLogMethod (MagickLogMethod)
 

Macro Definition Documentation

◆ GetMagickModule

#define GetMagickModule ( )    __FILE__,__func__,(unsigned long) __LINE__

Definition at line 28 of file log.h.

◆ MagickLogFilename

#define MagickLogFilename   "log.xml"

Definition at line 31 of file log.h.

Typedef Documentation

◆ LogInfo

typedef struct _LogInfo LogInfo

Definition at line 62 of file log.h.

◆ MagickLogMethod

typedef void(* MagickLogMethod) (const LogEventType, const char *)

Definition at line 64 of file log.h.

Enumeration Type Documentation

◆ LogEventType

Enumerator
UndefinedEvents 
NoEvents 
AccelerateEvent 
AnnotateEvent 
BlobEvent 
CacheEvent 
CoderEvent 
ConfigureEvent 
DeprecateEvent 
DrawEvent 
ExceptionEvent 
ImageEvent 
LocaleEvent 
ModuleEvent 
PixelEvent 
PolicyEvent 
ResourceEvent 
TraceEvent 
TransformEvent 
UserEvent 
WandEvent 
X11Event 
CommandEvent 
AllEvents 

Definition at line 33 of file log.h.

Function Documentation

◆ CloseMagickLog()

MagickExport MagickBooleanType MagickExport void CloseMagickLog ( void  )

◆ GetLogEventMask()

◆ GetLogInfoList()

◆ GetLogList()

◆ GetLogName()

MagickExport const char * GetLogName ( void  )

◆ IsEventLogging()

MagickExport MagickBooleanType IsEventLogging ( void  )

◆ ListLogInfo()

MagickExport MagickBooleanType ListLogInfo ( FILE *  ,
ExceptionInfo  
)

◆ LogMagickEvent()

MagickExport MagickBooleanType LogMagickEvent ( const  LogEventType,
const char *  ,
const char *  ,
const  size_t,
const char *  ,
  ... 
)

◆ LogMagickEventList()

MagickExport MagickBooleanType LogMagickEventList ( const  LogEventType,
const char *  ,
const char *  ,
const  size_t,
const char *  ,
va_list   
)

◆ SetLogEventMask()

◆ SetLogFormat()

MagickExport MagickBooleanType MagickExport void SetLogFormat ( const char *  )

◆ SetLogMethod()

◆ SetLogName()

MagickExport const char * SetLogName ( const char *  name)

Definition at line 1932 of file log.c.

References CopyMagickString(), log_name, and MagickPathExtent.