#include <stdarg.h>#include "magick/exception.h"

Go to the source code of this file.
Defines | |
| #define | GetMagickModule() __FILE__,__func__,(unsigned long) __LINE__ |
| #define | MagickLogFilename "log.xml" |
Typedefs | |
| typedef struct _LogInfo | LogInfo |
Enumerations | |
| enum | LogEventType { UndefinedEvents, NoEvents = 0x00000, TraceEvent = 0x00001, AnnotateEvent = 0x00002, BlobEvent = 0x00004, CacheEvent = 0x00008, CoderEvent = 0x00010, ConfigureEvent = 0x00020, DeprecateEvent = 0x00040, DrawEvent = 0x00080, ExceptionEvent = 0x00100, LocaleEvent = 0x00200, ModuleEvent = 0x00400, PolicyEvent = 0x00800, ResourceEvent = 0x01000, TransformEvent = 0x02000, UserEvent = 0x04000, WandEvent = 0x08000, X11Event = 0x10000, AllEvents = 0x7fffffff } |
Functions | |
| MagickExport char ** | GetLogList (const char *, unsigned long *, ExceptionInfo *) |
| MagickExport const char * | GetLogName (void) |
| MagickExport const char ** | SetLogName (const char *) |
| MagickExport const LogInfo ** | GetLogInfoList (const char *, unsigned long *, ExceptionInfo *) |
| MagickExport LogEventType | SetLogEventMask (const char *) |
| MagickExport MagickBooleanType | IsEventLogging (void) |
| MagickExport MagickBooleanType | ListLogInfo (FILE *, ExceptionInfo *) |
| MagickExport MagickBooleanType | LogComponentGenesis (void) |
| MagickExport MagickBooleanType | LogMagickEvent (const LogEventType, const char *, const char *, const unsigned long, const char *,...) magick_attribute((format(printf |
| MagickExport MagickBooleanType | LogMagickEventList (const LogEventType, const char *, const char *, const unsigned long, const char *, va_list) magick_attribute((format(printf |
| MagickExport MagickBooleanType MagickExport void | CloseMagickLog (void) |
| MagickExport MagickBooleanType MagickExport void | LogComponentTerminus (void) |
| MagickExport MagickBooleanType MagickExport void | SetLogFormat (const char *) |
| #define GetMagickModule | ( | ) | __FILE__,__func__,(unsigned long) __LINE__ |
Definition at line 29 of file log.h.
Referenced by AcquireCacheNexusPixels(), AcquireCacheView(), AcquireImage(), AcquireImageColormap(), AcquireMagickResource(), AcquireMemory(), AcquireNextImage(), AcquireRadonInfo(), AcquireResampleFilter(), AcquireResizeFilter(), AcquireStreamPixels(), AcquireUniqueFileResource(), AdaptiveBlurImageChannel(), AdaptiveResizeImage(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), AddNoiseImageChannel(), AddPathToXMLTree(), AffineTransformImage(), AllocateString(), AnimateImages(), AnnotateImage(), AppendImageFormat(), AppendImages(), AppendImageToList(), AppendValueToLinkedList(), Ascii85Flush(), AttachBlob(), AverageImages(), Base64Decode(), Base64Encode(), BilevelImageChannel(), BlackThresholdImageChannel(), BlobToFile(), BlobToImage(), BlueShiftImage(), BlurImageChannel(), BorderImage(), CatchImageException(), ChannelThresholdImage(), CharcoalImage(), ChopImage(), ClampImageChannel(), ClassifyImageColors(), ClearLinkedList(), ClipImagePath(), ClipPixelCacheNexus(), CloneCacheView(), CloneDiskToDiskPixelCache(), CloneDiskToMemoryPixelCache(), CloneImage(), CloneImageArtifacts(), CloneImageOptions(), CloneImageProfiles(), CloneImageProperties(), CloneImages(), CloneMemory(), CloneMemoryToDiskPixelCache(), CloneMemoryToMemoryPixelCache(), ClonePixelCache(), ClonePixelCacheMethods(), CloneSplayTree(), CloneString(), CloneStringInfo(), CloseBlob(), ClutImageChannel(), CoalesceImages(), ColorDecisionListImage(), ColorFloodfillImage(), ColorizeImage(), CombineImages(), CompareImageChannels(), CompareImageLayers(), CompareStringInfo(), CompositeImageChannel(), CompositeLayers(), CompressImageColormap(), ConcatenateStringInfo(), ConsolidateCMYKImages(), ConstituteImage(), ConstrainColormapIndex(), ContrastImage(), ContrastStretchImageChannel(), ConvolveImageChannel(), CropImage(), CycleColormapImage(), DecipherImage(), DeleteImageArtifact(), DeleteImageList(), DeleteImageOption(), DeleteImageProfile(), DeleteImageProperty(), DeleteImageRegistry(), DeleteImages(), DeleteNodeByValueFromSplayTree(), DeleteNodeFromSplayTree(), DeskewImage(), DespeckleImage(), DestroyBlob(), DestroyCacheView(), DestroyConfigureOptions(), DestroyDrawInfo(), DestroyHashmap(), DestroyImage(), DestroyImageArtifacts(), DestroyImageAttributes(), DestroyImageInfo(), DestroyImageList(), DestroyImageOptions(), DestroyImagePixelCache(), DestroyImagePixels(), DestroyImageProperties(), DestroyImages(), DestroyLinkedList(), DestroyLocaleOptions(), DestroyMontageInfo(), DestroyPixelCache(), DestroyPixelStream(), DestroyQuantizeInfo(), DestroyRandomInfo(), DestroyResampleFilter(), DestroySignatureInfo(), DestroyStreamInfo(), DestroyStringInfo(), DestroyTokenInfo(), DestroyXMLTree(), DetachBlob(), DisassociateImageStream(), DispatchImage(), DisplayImages(), DisposeImages(), DistortImage(), DrawAffineImage(), DrawClipPath(), DrawDashPolygon(), DrawGradientImage(), DrawImage(), DrawPatternPath(), DrawPolygonPrimitive(), DrawPrimitive(), DrawStrokePolygon(), DuplicateBlob(), EdgeImage(), EmbossImage(), EncipherImage(), EnhanceImage(), EOFBlob(), EqualizeImageChannel(), EscapeString(), EvaluateImageChannel(), ExcerptImage(), ExpandFilenames(), ExportImagePixels(), ExportQuantumPixels(), ExtendCache(), ExtentImage(), FileToBlob(), FileToImage(), FileToString(), FileToStringInfo(), FinalizeSignature(), FlipImage(), FloodfillPaintImage(), FlopImage(), FormatStringList(), ForwardFourierTransformImage(), FrameImage(), FunctionImageChannel(), FuzzyColorCompare(), FuzzyOpacityCompare(), FxEvaluateSubexpression(), FxGetSymbol(), FxImageChannel(), FxSubexpression(), GammaImage(), GammaImageChannel(), GaussianBlurImageChannel(), GenerateCoefficients(), GetAffineMatrix(), GetAuthenticIndexesFromCache(), GetAuthenticIndexesFromStream(), GetAuthenticIndexQueue(), GetAuthenticPixelCacheNexus(), GetAuthenticPixelQueue(), GetAuthenticPixels(), GetAuthenticPixelsFromCache(), GetAuthenticPixelsFromStream(), GetAuthenticPixelsStream(), GetBlobError(), GetBlobProperties(), GetBlobSize(), GetBlobStreamHandler(), GetBlurKernel(), GetCacheViewAuthenticIndexQueue(), GetCacheViewAuthenticPixelQueue(), GetCacheViewAuthenticPixels(), GetCacheViewColorspace(), GetCacheViewException(), GetCacheViewExtent(), GetCacheViewStorageClass(), GetCacheViewVirtualIndexQueue(), GetCacheViewVirtualPixelQueue(), GetCacheViewVirtualPixels(), GetCoderInfoList(), GetCoderList(), GetColorInfo(), GetColorInfoList(), GetColorList(), GetColorTuple(), GetConfigureBlob(), GetConfigureInfoList(), GetConfigureList(), GetConfigureOption(), GetConfigureOptions(), GetConfigurePaths(), GetConfigureValue(), GetDelegateCommand(), GetDelegateCommands(), GetDelegateInfoList(), GetDelegateList(), GetDelegateMode(), GetDelegateThreadSupport(), GetDrawInfo(), GetImageAlphaChannel(), GetImageArtifact(), GetImageAttribute(), GetImageBoundingBox(), GetImageChannelDepth(), GetImageChannelDistortion(), GetImageChannelDistortions(), GetImageChannelExtrema(), GetImageChannelKurtosis(), GetImageChannelMean(), GetImageChannelRange(), GetImageChannelStatistics(), GetImageClipMask(), GetImageDecoder(), GetImageDynamicThreshold(), GetImageEncoder(), GetImageException(), GetImageExtent(), GetImageFromList(), GetImageGeometry(), GetImageHistogram(), GetImageInfo(), GetImageList(), GetImageListIndex(), GetImageListLength(), GetImageListSize(), GetImageMagick(), GetImageMask(), GetImageOption(), GetImagePixelCache(), GetImageProfile(), GetImageProperty(), GetImageQuantizeError(), GetImageReferenceCount(), GetImageRegistry(), GetImageTotalInkDensity(), GetImageType(), GetImageVirtualPixelMethod(), GetLastValueInLinkedList(), GetLocaleInfoList(), GetLocaleList(), GetLocaleOptions(), GetLocaleValue(), GetLogInfoList(), GetLogList(), GetMagicInfoList(), GetMagickAdjoin(), GetMagickBlobSupport(), GetMagickDescription(), GetMagickEndianSupport(), GetMagickGeometry(), GetMagickInfoList(), GetMagickList(), GetMagickRawSupport(), GetMagickSeekableStream(), GetMagickThreadSupport(), GetMagicList(), GetMagicName(), GetMimeDescription(), GetMimeInfoList(), GetMimeList(), GetMimeType(), GetMontageInfo(), GetMotionBlurKernel(), GetMultilineTypeMetrics(), GetNextImage(), GetNextImageArtifact(), GetNextImageInList(), GetNextImageOption(), GetNextImageProfile(), GetNextImageProperty(), GetNextImageRegistry(), GetNextKeyInHashmap(), GetNextKeyInSplayTree(), GetNextValueInHashmap(), GetNextValueInLinkedList(), GetNextValueInSplayTree(), GetNextXMLTreeTag(), GetNumberOfElementsInLinkedList(), GetNumberOfEntriesInHashmap(), GetNumberOfNodesInSplayTree(), GetNumberScenes(), GetOneAuthenticPixel(), GetOneAuthenticPixelFromCache(), GetOneCacheViewAuthenticPixel(), GetOneCacheViewVirtualMethodPixel(), GetOneCacheViewVirtualPixel(), GetOptimalKernelWidth1D(), GetOptimalKernelWidth2D(), GetPageGeometry(), GetPathComponent(), GetPixelCacheColorspace(), GetPixelCacheNexusPixels(), GetPixelCacheStorageClass(), GetPixelCacheTileSize(), GetPixelCacheType(), GetPixelCacheVirtualMethod(), GetPolicyInfoList(), GetPolicyList(), GetPolicyValue(), GetPreviousImage(), GetQuantizeInfo(), GetQuantumType(), GetSignatureBlocksize(), GetSignatureDigest(), GetSignatureDigestsize(), GetThresholdMapFile(), GetTypeInfoByFamily(), GetTypeInfoList(), GetTypeList(), GetTypeMetrics(), GetValueFromHashmap(), GetValueFromLinkedList(), GetValueFromSplayTree(), GetVirtualIndexesFromCache(), GetVirtualIndexesFromStream(), GetVirtualIndexQueue(), GetVirtualPixelCache(), GetVirtualPixelQueue(), GetVirtualPixels(), GetVirtualPixelsCache(), GetVirtualPixelsFromNexus(), GetVirtualPixelsStream(), GetVirtualPixelStream(), GetXMLTreeAttribute(), GetXMLTreeAttributes(), GetXMLTreeChild(), GetXMLTreeContent(), GetXMLTreeOrdered(), GetXMLTreePath(), GetXMLTreeProcessingInstructions(), GetXMLTreeSibling(), GetXMLTreeTag(), GradientImage(), HaldClutImageChannel(), HorizontalFilter(), HuffmanDecodeImage(), HuffmanEncodeImage(), IdentifyImage(), IdentityAffine(), ImageListToArray(), ImagesToBlob(), ImageToBlob(), ImageToFile(), ImplodeImage(), ImportImagePixels(), ImportQuantumPixels(), InitializeSignature(), InjectImageBlob(), InsertImageInList(), InsertValueInLinkedList(), InsertValueInSortedLinkedList(), InterpretImageAttributes(), InterpretImageProperties(), InverseFourierTransformImage(), InvokeDelegate(), InvokeDynamicImageFilter(), IsBlobExempt(), IsBlobSeekable(), IsBlobTemporary(), IsGrayImage(), IsHashmapEmpty(), IsHighDynamicRangeImage(), IsHistogramImage(), IsImageObject(), IsImageSimilar(), IsLinkedListEmpty(), IsMonochromeImage(), IsOpaqueImage(), IsPaletteImage(), IsRightsAuthorized(), IsSubimage(), IsTaintImage(), LevelColorsImageChannel(), LevelImageChannel(), LevelizeImageChannel(), LiberateMemory(), LiberateSemaphoreInfo(), LinkedListToArray(), LiquidRescaleImage(), ListFiles(), ListThresholdMapFile(), LoadCoderList(), LoadCoderLists(), LoadColorList(), LoadColorLists(), LoadConfigureList(), LoadConfigureLists(), LoadDelegateList(), LoadLocaleList(), LoadLogList(), LoadLogLists(), LoadMagicList(), LoadMagicLists(), LoadMimeList(), LoadPolicyList(), LoadPolicyLists(), LoadTypeList(), LogPathInfo(), LogPolygonInfo(), LogPrimitiveInfo(), LZWEncodeImage(), MagickIncarnate(), MagickMonitor(), MagnifyImage(), MapImage(), MapImages(), MaskPixelCacheNexus(), MatteFloodfillImage(), MedianFilterImage(), MergeImageLayers(), MinifyImage(), ModifyImage(), ModulateImage(), MontageImageList(), MorphImages(), MotionBlurImageChannel(), NegateImageChannel(), NewMagickImage(), NewXMLTree(), OilPaintImage(), OpaqueImage(), OpaquePaintImageChannel(), OpenBlob(), OpenPixelCache(), OptimizeImageTransparency(), OptimizeLayerFrames(), OrderedPosterizeImageChannel(), PackbitsEncodeImage(), ParseAffineGeometry(), ParseCloseTag(), ParseGravityGeometry(), ParseImageGeometry(), ParseInternalDoctype(), ParseMetaGeometry(), ParsePageGeometry(), ParseRegionGeometry(), ParseSizeGeometry(), PasskeyDecipherImage(), PasskeyEncipherImage(), PersistPixelCache(), PingBlob(), PingImage(), PingImages(), PlasmaImage(), PolaroidImage(), PopImageList(), PosterizeImage(), PostscriptGeometry(), PreviewImage(), PrintStringInfo(), ProfileImage(), PruneTagFromXMLTree(), PushImageList(), PutEntryInHashmap(), QuantizationError(), QuantizeImage(), QuantizeImages(), QueryMagickColor(), QueueAuthenticNexus(), QueueAuthenticPixels(), QueueAuthenticPixelsStream(), QueueCacheViewAuthenticPixels(), RadialBlurImageChannel(), RaiseImage(), RandomChannelThresholdImage(), RandomThresholdImageChannel(), ReacquireMemory(), ReadImage(), ReadImages(), ReadPixelCacheIndexes(), ReadPixelCachePixels(), ReadStream(), RecolorImage(), ReduceNoiseImage(), ReferenceBlob(), ReferenceImage(), ReferencePixelCache(), RegisterMagickInfo(), RegisterMagickSignalHandler(), RegistryComponentTerminus(), RelinquishMagickResource(), RelinquishUniqueFileResource(), RemapImage(), RemapImages(), RemoteDisplayCommand(), RemoveDuplicateLayers(), RemoveElementByValueFromLinkedList(), RemoveElementFromLinkedList(), RemoveEntryFromHashmap(), RemoveFirstImageFromList(), RemoveImageArtifact(), RemoveImageFromList(), RemoveImageOption(), RemoveImageProfile(), RemoveImageProperty(), RemoveImageRegistry(), RemoveLastElementFromLinkedList(), RemoveLastImageFromList(), RemoveNodeByValueFromSplayTree(), RemoveNodeFromSplayTree(), RemoveZeroDelayLayers(), RenderFreetype(), RenderPostscript(), RenderType(), RenderX11(), ReplaceImageInList(), ResampleImage(), ResetHashmapIterator(), ResetImageArtifactIterator(), ResetImageOptionIterator(), ResetImageOptions(), ResetImagePage(), ResetImageProfileIterator(), ResetImagePropertyIterator(), ResetImageRegistryIterator(), ResetLinkedListIterator(), ResetSplayTree(), ResetSplayTreeIterator(), ResetStringInfo(), ResizeImage(), ReverseImageList(), RGBTransformImage(), RollImage(), RotateImage(), SampleImage(), ScaleImage(), SeekBlob(), SegmentImage(), SelectiveBlurImageChannel(), SeparateImageChannel(), SeparateImages(), SepiaToneImage(), SetBlobExempt(), SetBlobExtent(), SetCacheThreshold(), SetCacheViewStorageClass(), SetCacheViewVirtualPixelMethod(), SetGeometry(), SetGeometryInfo(), SetImage(), SetImageAlphaChannel(), SetImageArtifact(), SetImageAttribute(), SetImageBackgroundColor(), SetImageChannelDepth(), SetImageClipMask(), SetImageInfo(), SetImageInfoBlob(), SetImageInfoFile(), SetImageList(), SetImageMask(), SetImageOpacity(), SetImageOption(), SetImageProfile(), SetImageProperty(), SetImageRegistry(), SetImageType(), SetImageVirtualPixelMethod(), SetMagickInfo(), SetPixelCacheMethods(), SetPixelCacheNexusPixels(), SetPixelCacheVirtualMethod(), SetQuantumDepth(), SetQuantumFormat(), SetQuantumImageType(), SetQuantumPad(), SetResampleFilter(), SetResampleFilterInterpolateMethod(), SetResampleFilterVirtualPixelMethod(), SetStringInfo(), SetStringInfoDatum(), SetStringInfoLength(), SetStringInfoPath(), SetXMLTreeAttribute(), SetXMLTreeContent(), ShadeImage(), ShadowImage(), SharpenImageChannel(), ShaveImage(), ShearImage(), ShiftImageList(), SigmoidalContrastImageChannel(), SignatureImage(), SimilarityImage(), SizeBlob(), SolarizeImage(), SortColormapByIntensity(), SparseColorImage(), SpliceImage(), SpliceImageIntoList(), SpliceImageList(), SplitStringInfo(), SpreadImage(), SteganoImage(), StereoAnaglyphImage(), StreamImage(), StreamImagePixels(), StringToStringInfo(), Strip(), StripImage(), SwirlImage(), SyncAuthenticPixelCacheNexus(), SyncAuthenticPixels(), SyncAuthenticPixelsStream(), SyncBlob(), SyncCacheViewAuthenticPixels(), SyncImage(), SystemCommand(), TellBlob(), TemporaryFilename(), TextureImage(), ThresholdImage(), ThresholdImageChannel(), ThumbnailImage(), TintImage(), TransformColorspace(), TransformImage(), TransformImageColorspace(), TransformImages(), TransformRGBImage(), TranslateText(), TransparentImage(), TransparentPaintImage(), TransparentPaintImageChroma(), TransposeImage(), TransverseImage(), TrimImage(), UnsharpMaskImageChannel(), UnshiftImageList(), ValidateColormapIndex(), VerticalFilter(), VignetteImage(), WaveImage(), WhiteThresholdImageChannel(), WriteImage(), WriteImages(), WritePixelCacheIndexes(), WritePixelCachePixels(), WriteStream(), XAnnotateImage(), XBestIconSize(), XBestPixel(), XBestVisualInfo(), XCheckDefineCursor(), XCheckRefreshWindows(), XClientWindow(), XColorBrowserWidget(), XCommandWidget(), XConfirmWidget(), XConstrainWindowPosition(), XDestroyWindowColors(), XDialogWidget(), XDisplayImageInfo(), XDrawImage(), XError(), XFileBrowserWidget(), XFontBrowserWidget(), XFreeResources(), XFreeStandardColormap(), XGetAnnotateInfo(), XGetMapInfo(), XGetPixelPacket(), XGetResourceInfo(), XGetWindowColor(), XGetWindowImage(), XGetWindowInfo(), XHighlightEllipse(), XHighlightLine(), XHighlightRectangle(), XImportImage(), XInfoWidget(), XInitializeWindows(), XListBrowserWidget(), XMakeCursor(), XMakeImage(), XMakeImageLSBFirst(), XMakeImageMSBFirst(), XMakeMagnifyImage(), XMakePixmap(), XMakeStandardColormap(), XMakeWindow(), XMenuWidget(), XMLTreeInfoToXML(), XNoticeWidget(), XPreferencesWidget(), XProgressMonitorWidget(), XQueryPosition(), XRefreshWindow(), XRemoteCommand(), XRetainWindowColors(), XSelectWindow(), XSetCursorState(), XShearImage(), XTextViewWidget(), XWindowByID(), XWindowByName(), XWindowByProperty(), YShearImage(), ZLIBEncodeImage(), and ZoomImage().
| enum LogEventType |
| MagickExport MagickBooleanType MagickExport void CloseMagickLog | ( | void | ) |
| MagickExport const LogInfo** GetLogInfoList | ( | const char * | , | |
| unsigned long * | , | |||
| ExceptionInfo * | ||||
| ) |
Definition at line 345 of file log.c.
References AcquireQuantumMemory(), GetLogInfo(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GlobExpression(), LockSemaphoreInfo(), log_list, log_semaphore, LogInfoCompare(), LogMagickEvent(), MagickFalse, _LogInfo::name, ResetLinkedListIterator(), _LogInfo::stealth, TraceEvent, and UnlockSemaphoreInfo().
Referenced by ListLogInfo().
| MagickExport char** GetLogList | ( | const char * | , | |
| unsigned long * | , | |||
| ExceptionInfo * | ||||
| ) |
Definition at line 438 of file log.c.
References AcquireQuantumMemory(), ConstantString(), GetLogInfo(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GlobExpression(), LockSemaphoreInfo(), log_list, 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 LogComponentGenesis | ( | void | ) |
| MagickExport MagickBooleanType MagickExport void LogComponentTerminus | ( | void | ) |
| MagickExport MagickBooleanType LogMagickEvent | ( | const | LogEventType, | |
| const char * | , | |||
| const char * | , | |||
| const unsigned long | , | |||
| const char * | , | |||
| ... | ||||
| ) |
| MagickExport MagickBooleanType LogMagickEventList | ( | const | LogEventType, | |
| const char * | , | |||
| const char * | , | |||
| const unsigned long | , | |||
| const char * | , | |||
| va_list | ||||
| ) |
| MagickExport LogEventType SetLogEventMask | ( | const char * | ) |
Definition at line 1672 of file log.c.
References AcquireExceptionInfo(), DestroyExceptionInfo(), _LogInfo::event_mask, GetLogInfo(), GetValueFromLinkedList(), LockSemaphoreInfo(), log_list, log_semaphore, MagickLogEventOptions, MagickTrue, ParseMagickOption(), UndefinedEvents, and UnlockSemaphoreInfo().
Referenced by MagickCoreGenesis().
| MagickExport MagickBooleanType MagickExport void SetLogFormat | ( | const char * | ) |
Definition at line 1718 of file log.c.
References AcquireExceptionInfo(), ConstantString(), DestroyExceptionInfo(), DestroyString(), _LogInfo::format, GetLogInfo(), LockSemaphoreInfo(), log_semaphore, and UnlockSemaphoreInfo().
| MagickExport const char* * SetLogName | ( | const char * | ) |
Definition at line 1760 of file log.c.
References CopyMagickString(), log_name, and MaxTextExtent.
1.6.1