MagickCore 7.0.10
log.h File Reference
#include <stdarg.h>
#include "wizard/exception.h"
#include "wizard/timer.h"
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 GetWizardModule()   __FILE__,__func__,(unsigned long) __LINE__
 
#define WizardLogFilename   "log.xml"
 

Typedefs

typedef struct _LogInfo LogInfo
 

Enumerations

enum  LogEventType {
  UndefinedEvents , NoEvents = 0x0000 , TraceEvent = 0x0001 , AnnotateEvent = 0x0002 ,
  BlobEvent = 0x0004 , CacheEvent = 0x0008 , CoderEvent = 0x0010 , ConfigureEvent = 0x0020 ,
  DeprecateEvent = 0x0040 , ExceptionEvent = 0x0080 , LocaleEvent = 0x0100 , ModuleEvent = 0x0200 ,
  ResourceEvent = 0x0400 , TransformEvent = 0x0800 , WarningEvent = 0x1000 , UserEvent = 0x2000 ,
  AllEvents = 0x7fffffff
}
 

Functions

WizardExport char ** GetLogList (const char *, size_t *, ExceptionInfo *)
 
WizardExport const LogInfoGetLogInfo (const char *, ExceptionInfo *)
 
WizardExport const LogInfo ** GetLogInfoList (const char *, size_t *, ExceptionInfo *)
 
WizardExport LogEventType SetLogEventMask (const char *)
 
WizardExport WizardBooleanType IsEventLogging (void)
 
WizardExport WizardBooleanType ListLogInfo (FILE *, ExceptionInfo *)
 
WizardExport WizardBooleanType LogComponentGenesis (void)
 
WizardExport WizardBooleanType LogWizardEvent (const LogEventType, const char *, const char *, const size_t, const char *,...) wizard_attribute((__format__(__printf__
 
WizardExport WizardBooleanType LogWizardEventList (const LogEventType, const char *, const char *, const size_t, const char *, va_list) wizard_attribute((__format__(__printf__
 
WizardExport WizardBooleanType WizardExport void CloseWizardLog (void)
 
WizardExport WizardBooleanType WizardExport void LogComponentTerminus (void)
 
WizardExport WizardBooleanType WizardExport void SetLogFormat (const char *)
 
WizardExport WizardBooleanType WizardExport void SetLogPreamble (const char *)
 

Macro Definition Documentation

◆ GetWizardModule

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

Definition at line 30 of file log.h.

◆ WizardLogFilename

#define WizardLogFilename   "log.xml"

Definition at line 33 of file log.h.

Typedef Documentation

◆ LogInfo

typedef struct _LogInfo LogInfo

Definition at line 57 of file log.h.

Enumeration Type Documentation

◆ LogEventType

Enumerator
UndefinedEvents 
NoEvents 
TraceEvent 
AnnotateEvent 
BlobEvent 
CacheEvent 
CoderEvent 
ConfigureEvent 
DeprecateEvent 
ExceptionEvent 
LocaleEvent 
ModuleEvent 
ResourceEvent 
TransformEvent 
WarningEvent 
UserEvent 
AllEvents 

Definition at line 35 of file log.h.

Function Documentation

◆ CloseWizardLog()

WizardExport WizardBooleanType WizardExport void CloseWizardLog ( void  )

◆ GetLogInfo()

WizardExport const LogInfo * GetLogInfo ( const char *  ,
ExceptionInfo  
)

◆ GetLogInfoList()

◆ GetLogList()

◆ IsEventLogging()

WizardExport WizardBooleanType IsEventLogging ( void  )

◆ ListLogInfo()

WizardExport WizardBooleanType ListLogInfo ( FILE *  ,
ExceptionInfo  
)

◆ LogComponentGenesis()

WizardExport WizardBooleanType LogComponentGenesis ( void  )

◆ LogComponentTerminus()

WizardExport WizardBooleanType WizardExport void LogComponentTerminus ( void  )

◆ LogWizardEvent()

WizardExport WizardBooleanType LogWizardEvent ( const LogEventType  ,
const char *  ,
const char *  ,
const size_t  ,
const char *  ,
  ... 
)

◆ LogWizardEventList()

WizardExport WizardBooleanType LogWizardEventList ( const LogEventType  ,
const char *  ,
const char *  ,
const size_t  ,
const char *  ,
va_list   
)

◆ SetLogEventMask()

◆ SetLogFormat()

WizardExport WizardBooleanType WizardExport void SetLogFormat ( const char *  )

◆ SetLogPreamble()

WizardExport WizardBooleanType WizardExport void SetLogPreamble ( const char *  )