MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/exception.h"
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 } |
#define GetMagickModule | ( | ) | __FILE__,__func__,(unsigned long) __LINE__ |
typedef void(* MagickLogMethod) (const LogEventType, const char *) |
enum LogEventType |
MagickExport MagickBooleanType MagickExport void CloseMagickLog | ( | void | ) |
MagickExport LogEventType GetLogEventMask | ( | void | ) |
Definition at line 399 of file log.c.
References AcquireExceptionInfo(), DestroyExceptionInfo(), _LogInfo::event_mask, GetLogInfo(), and NoEvents.
Referenced by AcquireDistributeCacheInfo(), AcquireImage(), AcquireMagickResource(), AcquirePixelCache(), AcquireUniqueFileResource(), AcquireVirtualCacheView(), ConvertPathToPolygon(), GetBlobInfo(), GetDrawInfo(), GetImageInfo(), IsRightsAuthorized(), NewImageView(), NewImageViewRegion(), RelinquishMagickResource(), RelinquishUniqueFileResource(), and SetPixelChannelMask().
MagickExport const LogInfo ** GetLogInfoList | ( | const char * | pattern, |
size_t * | number_preferences, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 520 of file log.c.
References AcquireQuantumMemory(), GetLogInfo(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GlobExpression(), IsEventLogging(), LockSemaphoreInfo(), log_cache, log_semaphore, LogInfoCompare(), LogMagickEvent(), MagickFalse, _LogInfo::name, ResetLinkedListIterator(), _LogInfo::stealth, TraceEvent, and UnlockSemaphoreInfo().
Referenced by ListLogInfo().
MagickExport char ** GetLogList | ( | const char * | pattern, |
size_t * | number_preferences, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 614 of file log.c.
References AcquireQuantumMemory(), ConstantString(), GetLogInfo(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GlobExpression(), IsEventLogging(), LockSemaphoreInfo(), log_cache, log_semaphore, LogCompare(), LogMagickEvent(), MagickFalse, _LogInfo::name, ResetLinkedListIterator(), _LogInfo::stealth, TraceEvent, and UnlockSemaphoreInfo().
MagickExport const char * GetLogName | ( | void | ) |
MagickExport MagickBooleanType IsEventLogging | ( | void | ) |
MagickExport MagickBooleanType ListLogInfo | ( | FILE * | , |
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType LogMagickEvent | ( | const | LogEventType, |
const char * | , | ||
const char * | , | ||
const | size_t, | ||
const char * | , | ||
... | |||
) |
MagickExport MagickBooleanType LogMagickEventList | ( | const | LogEventType, |
const char * | , | ||
const char * | , | ||
const | size_t, | ||
const char * | , | ||
va_list | |||
) |
MagickExport LogEventType SetLogEventMask | ( | const char * | events | ) |
Definition at line 1801 of file log.c.
References AcquireExceptionInfo(), CheckEventLogging(), DestroyExceptionInfo(), _LogInfo::event_mask, GetLogInfo(), GetValueFromLinkedList(), LockSemaphoreInfo(), log_cache, log_semaphore, MagickLogEventOptions, MagickTrue, ParseCommandOption(), UndefinedEvents, and UnlockSemaphoreInfo().
Referenced by MagickCoreGenesis().
MagickExport MagickBooleanType MagickExport void SetLogFormat | ( | const char * | ) |
MagickExport MagickBooleanType MagickExport void SetLogMethod | ( | MagickLogMethod | method | ) |
Definition at line 1889 of file log.c.
References AcquireExceptionInfo(), DestroyExceptionInfo(), GetLogInfo(), GetValueFromLinkedList(), _LogInfo::handler_mask, LockSemaphoreInfo(), log_cache, log_semaphore, _LogInfo::method, MethodHandler, and UnlockSemaphoreInfo().
MagickExport const char * SetLogName | ( | const char * | name | ) |
Definition at line 1932 of file log.c.
References CopyMagickString(), log_name, and MagickPathExtent.