#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 |
typedef void(* | MagickLogMethod )(const LogEventType, const char *) |
Enumerations | |
enum | LogEventType { UndefinedEvents, NoEvents = 0x00000, TraceEvent = 0x00001, AnnotateEvent = 0x00002, BlobEvent = 0x00004, CacheEvent = 0x00008, CoderEvent = 0x00010, ConfigureEvent = 0x00020, DeprecateEvent = 0x00040, DrawEvent = 0x00080, ExceptionEvent = 0x00100, ImageEvent = 0x00200, LocaleEvent = 0x00400, ModuleEvent = 0x00800, PolicyEvent = 0x01000, ResourceEvent = 0x02000, TransformEvent = 0x04000, UserEvent = 0x09000, WandEvent = 0x10000, X11Event = 0x20000, AccelerateEvent = 0x40000, AllEvents = 0x7fffffff } |
Functions | |
MagickExport char ** | GetLogList (const char *, size_t *, ExceptionInfo *) |
MagickExport const char * | GetLogName (void) |
MagickExport const char ** | SetLogName (const char *) |
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 | LogComponentGenesis (void) |
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 | LogComponentTerminus (void) |
MagickExport MagickBooleanType MagickExport void | SetLogFormat (const char *) |
MagickExport MagickBooleanType MagickExport void | SetLogMethod (MagickLogMethod) |
#define GetMagickModule | ( | ) | __FILE__,__func__,(unsigned long) __LINE__ |
Referenced by AcquireCacheNexusPixels(), AcquireCoderCache(), AcquireColorCache(), AcquireFxThreadSet(), AcquireImage(), AcquireImageColormap(), AcquireMagicCache(), AcquireMagickResource(), AcquireMatrixInfo(), AcquireMemory(), AcquireNextImage(), AcquirePolicyCache(), AcquireResampleFilter(), AcquireResizeFilter(), AcquireStreamPixels(), AcquireUniqueFileResource(), AcquireVirtualCacheView(), AdaptiveBlurImageChannel(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), AddNoiseImageChannel(), AddPathToXMLTree(), AffineTransformImage(), AllocateString(), AnimateImages(), AnnotateImage(), AppendImageFormat(), AppendImages(), AppendImageToList(), Ascii85Flush(), AttachBlob(), AutoThresholdImage(), Base64Decode(), Base64Encode(), BilevelImageChannel(), BlackThresholdImageChannel(), BlobToFile(), BlobToImage(), BlueShiftImage(), BlurImageChannel(), BorderImage(), BrightnessContrastImageChannel(), CannyEdgeImage(), CatchImageException(), ChannelThresholdImage(), CharcoalImage(), CheckImageColors(), CheckPrimitiveExtent(), ChopImage(), ClampImageChannel(), ClassifyImageColors(), ClipImagePath(), ClipPixelCacheNexus(), CloneCacheView(), CloneImage(), CloneImageArtifacts(), CloneImageOptions(), CloneImageProfiles(), CloneImageProperties(), CloneImages(), CloneMemory(), ClonePixelCache(), ClonePixelCacheMethods(), ClonePixelCacheRepository(), CloneSplayTree(), CloseBlob(), ClutImageChannel(), CoalesceImages(), ColorDecisionListImage(), ColorFloodfillImage(), ColorizeImage(), ColorMatrixImage(), CombineImages(), CompareImageChannels(), CompareImageLayers(), ComplexImages(), CompositeImageChannel(), CompositeLayers(), CompressImageColormap(), ConnectedComponentsImage(), ConnectPixelCacheServer(), ConsolidateCMYKImages(), ConstituteImage(), ConstrainColormapIndex(), ContrastImage(), ContrastStretchImageChannel(), CopyImagePixels(), CropImage(), CropImageToTiles(), CycleColormapImage(), DecipherImage(), DeleteImageArtifact(), DeleteImageList(), DeleteImageOption(), DeleteImageProfile(), DeleteImageProperty(), DeleteImageRegistry(), DeleteImages(), DeleteNodeByValueFromSplayTree(), DeleteNodeFromSplayTree(), DeskewImage(), DespeckleImage(), DestroyBlob(), DestroyCacheView(), DestroyDrawInfo(), DestroyImage(), DestroyImageArtifacts(), DestroyImageAttributes(), DestroyImageInfo(), DestroyImageList(), DestroyImageOptions(), DestroyImagePixelCache(), DestroyImagePixels(), DestroyImageProperties(), DestroyImages(), DestroyLocaleOptions(), DestroyMontageInfo(), DestroyPixelCache(), DestroyPixelStream(), DestroyQuantizeInfo(), DestroyRandomInfo(), DestroyResampleFilter(), DestroySignatureInfo(), DestroyStreamInfo(), DestroyTokenInfo(), DestroyXMLTree(), DestroyXMLTreeRoot(), DetachBlob(), DisassociateBlob(), DisassociateImageStream(), DispatchImage(), DisplayImages(), DisposeImages(), DistortImage(), DistortResizeImage(), DrawAffineImage(), DrawClippingMask(), DrawCompositeMask(), DrawDashPolygon(), DrawGradientImage(), DrawPatternPath(), DrawPolygonPrimitive(), DrawPrimitive(), DrawStrokePolygon(), DuplicateBlob(), DuplicateImages(), EdgeImage(), EmbossImage(), EncipherImage(), EnhanceImage(), EOFBlob(), EqualizeImageChannel(), ErrorBlob(), EvaluateImageChannel(), EvaluateImages(), ExcerptImage(), ExpandFilenames(), ExportBlackQuantum(), ExportCMYKAQuantum(), ExportCMYKOQuantum(), ExportCMYKQuantum(), ExportImagePixels(), ExportIndexAlphaQuantum(), ExportIndexQuantum(), ExportQuantumPixels(), ExtentImage(), ExternalDelegateCommand(), FileToBlob(), FileToImage(), FileToStringInfo(), FilterImageChannel(), FinalizeSignature(), FlipImage(), FloodfillPaintImage(), FlopImage(), FormatStringList(), ForwardFourierTransformImage(), FrameImage(), FunctionImageChannel(), FuzzyColorCompare(), FuzzyOpacityCompare(), FxEvaluateSubexpression(), FxGetSymbol(), FxImageChannel(), FxSubexpression(), GammaImage(), GammaImageChannel(), GaussianBlurImageChannel(), GenerateCoefficients(), GetAffineMatrix(), GetAuthenticIndexesFromStream(), GetAuthenticPixelsFromStream(), GetAuthenticPixelsStream(), GetBlobError(), GetBlobProperties(), GetBlobSize(), GetBlobStreamHandler(), GetCacheViewChannels(), GetCacheViewColorspace(), GetCacheViewException(), GetCacheViewExtent(), GetCacheViewStorageClass(), GetCoderInfoList(), GetCoderList(), GetColorCompliance(), GetColorInfoList(), GetColorList(), GetColorTuple(), GetConfigureBlob(), GetConfigureInfoList(), GetConfigureList(), GetConfigureOption(), GetConfigureOptions(), GetConfigurePaths(), GetConfigureValue(), GetDelegateCommand(), GetDelegateCommands(), GetDelegateInfoList(), GetDelegateList(), GetDelegateMode(), GetDelegateThreadSupport(), GetDrawInfo(), GetEdgeBoundingBox(), GetImageAlphaChannel(), GetImageArtifact(), GetImageAttribute(), GetImageBoundingBox(), GetImageChannelDepth(), GetImageChannelDistortion(), GetImageChannelDistortions(), GetImageChannelEntropy(), GetImageChannelExtrema(), GetImageChannelFeatures(), GetImageChannelKurtosis(), GetImageChannelMean(), GetImageChannelMoments(), GetImageChannelRange(), GetImageChannels(), GetImageChannelStatistics(), GetImageClipMask(), GetImageColorspaceType(), GetImageDecoder(), GetImageDynamicThreshold(), GetImageEncoder(), GetImageException(), GetImageExtent(), GetImageFromList(), GetImageGeometry(), GetImageHistogram(), GetImageInfo(), GetImageList(), GetImageListIndex(), GetImageListLength(), GetImageListSize(), GetImageMagick(), GetImageMask(), GetImageOption(), GetImageProfile(), GetImageProperty(), GetImageQuantizeError(), GetImageReferenceCount(), GetImageRegistry(), GetImageTotalInkDensity(), GetImageType(), GetImageVirtualPixelMethod(), GetLocaleInfoList(), GetLocaleList(), GetLocaleOptions(), GetLocaleValue(), GetLocationStatistics(), GetLogInfoList(), GetLogList(), GetMagicInfoList(), GetMagickAdjoin(), GetMagickBlobSupport(), GetMagickDescription(), GetMagickEndianSupport(), GetMagickGeometry(), GetMagickInfoList(), GetMagickList(), GetMagickMimeType(), GetMagickPrecision(), GetMagickPropertyLetter(), GetMagickRawSupport(), GetMagickSeekableStream(), GetMagickThreadSupport(), GetMagicList(), GetMagicName(), GetMimeDescription(), GetMimeInfoList(), GetMimeList(), GetMimeType(), GetMontageInfo(), GetMotionBlurKernel(), GetMultilineTypeMetrics(), GetNextImage(), GetNextImageArtifact(), GetNextImageInList(), GetNextImageOption(), GetNextImageProfile(), GetNextImageProperty(), GetNextImageRegistry(), GetNextKeyInSplayTree(), GetNextValueInSplayTree(), GetNextXMLTreeTag(), GetNumberOfNodesInSplayTree(), GetNumberScenes(), GetOptimalKernelWidth1D(), GetOptimalKernelWidth2D(), GetPageGeometry(), GetPathComponent(), GetPixelCacheChannels(), GetPixelCacheColorspace(), GetPixelCacheStorageClass(), GetPixelCacheTileSize(), GetPolicyInfoList(), GetPolicyList(), GetPolicyValue(), GetPreviousImage(), GetQuantizeInfo(), GetQuantumType(), GetRootValueFromSplayTree(), GetSignatureBlocksize(), GetSignatureDigest(), GetSignatureDigestsize(), GetThresholdMapFile(), GetTypeInfoByFamily(), GetTypeInfoList(), GetTypeList(), GetTypeMetrics(), GetValueFromSplayTree(), GetVirtualIndexesFromStream(), GetVirtualPixelsStream(), GetVirtualPixelStream(), GetXMLTreeAttribute(), GetXMLTreeAttributes(), GetXMLTreeChild(), GetXMLTreeContent(), GetXMLTreeOrdered(), GetXMLTreePath(), GetXMLTreeProcessingInstructions(), GetXMLTreeSibling(), GetXMLTreeTag(), GradientImage(), GrayscaleImage(), HaldClutImageChannel(), HorizontalFilter(), HoughLineImage(), HuffmanDecodeImage(), HuffmanEncodeImage(), IdentifyImage(), IdentifyImageGray(), IdentifyImageMonochrome(), IdentifyImageType(), IdentifyPaletteImage(), IdentityAffine(), ImageListToArray(), ImagesToBlob(), ImageToBlob(), ImageToFile(), ImplodeImage(), ImportBlackQuantum(), ImportCMYKAQuantum(), ImportCMYKOQuantum(), ImportCMYKQuantum(), ImportImagePixels(), ImportIndexAlphaQuantum(), ImportIndexQuantum(), ImportQuantumPixels(), InitializeSignature(), InjectImageBlob(), InsertImageInList(), InterpolativeResizeImage(), InterpretDelegateProperties(), InterpretImageAttributes(), InterpretImageProperties(), InverseFourierTransformImage(), InvokeDelegate(), InvokeDynamicImageFilter(), IsBlobExempt(), IsBlobSeekable(), IsBlobTemporary(), IsCoderAuthorized(), IsHighDynamicRangeImage(), IsHistogramImage(), IsImageObject(), IsImageSimilar(), IsOpaqueImage(), IsPaletteImage(), IsRightsAuthorized(), IsSubimage(), IsTaintImage(), IsValidColormapIndex(), KapurThreshold(), KuwaharaImageChannel(), LCMSExceptionHandler(), LevelColorsImageChannel(), LevelImageChannel(), LevelizeImageChannel(), LiberateMemory(), LiberateSemaphoreInfo(), LiquidRescaleImage(), ListFiles(), ListThresholdMapFile(), LoadCoderCache(), LoadColorCache(), LoadConfigureCache(), LoadDelegateCache(), LoadLocaleCache(), LoadLogCache(), LoadMagicCache(), LoadMimeCache(), LoadPolicyCache(), LoadTypeCache(), LocalContrastImage(), LogPathInfo(), LogPolygonInfo(), LogPrimitiveInfo(), LZWEncodeImage(), MagickIncarnate(), MagickMonitor(), MagnifyImage(), MapImage(), MapImages(), MaskPixelCacheNexus(), MatteFloodfillImage(), MeanShiftImage(), MergeImageLayers(), MinifyImage(), ModifyImage(), ModulateImage(), MontageImageList(), MorphImages(), MotionBlurImageChannel(), NegateImageChannel(), NewMagickImage(), NewXMLTree(), OilPaintImage(), OpaqueImage(), OpaquePaintImageChannel(), OpenBlob(), OpenPixelCache(), OptimizeImageTransparency(), OptimizeLayerFrames(), OrderedPosterizeImageChannel(), OTSUThreshold(), PackbitsEncodeImage(), ParseAffineGeometry(), ParseCloseTag(), ParseGravityGeometry(), ParseImageGeometry(), ParseInternalDoctype(), ParseLogHandlers(), ParseMetaGeometry(), ParsePageGeometry(), ParseRegionGeometry(), ParseSizeGeometry(), PasskeyDecipherImage(), PasskeyEncipherImage(), PerceptibleImageChannel(), PersistPixelCache(), PingBlob(), PingImage(), PingImages(), PlasmaImage(), PolaroidImage(), PolynomialImageChannel(), PopImageList(), PosterizeImageChannel(), PostscriptGeometry(), PreviewImage(), ProfileImage(), PruneTagFromXMLTree(), PushImageList(), QuantizationError(), QuantizeImage(), QuantizeImages(), QueryMagickColorCompliance(), QueueAuthenticPixelCacheNexus(), QueueAuthenticPixelsStream(), RaiseImage(), RandomChannelThresholdImage(), RandomThresholdImageChannel(), ReacquireMemory(), ReadImage(), ReadImages(), ReadPixelCacheIndexes(), ReadPixelCachePixels(), ReadStream(), ReferenceBlob(), ReferenceImage(), RegisterMagickInfo(), RegisterMagickSignalHandler(), RegisterStaticModule(), RegistryComponentTerminus(), RelinquishMagickResource(), RelinquishUniqueFileResource(), RemapImage(), RemapImages(), RemoteDisplayCommand(), RemoveDuplicateLayers(), RemoveFirstImageFromList(), RemoveImageArtifact(), RemoveImageFromList(), RemoveImageOption(), RemoveImageProfile(), RemoveImageProperty(), RemoveImageRegistry(), RemoveLastImageFromList(), RemoveNodeByValueFromSplayTree(), RemoveNodeFromSplayTree(), RemoveZeroDelayLayers(), RenderFreetype(), RenderMVGContent(), RenderPostscript(), RenderType(), ReplaceImageInList(), ReplaceImageInListReturnLast(), ResampleImage(), ResetImageArtifactIterator(), ResetImageOptionIterator(), ResetImageOptions(), ResetImagePage(), ResetImagePixels(), ResetImageProfileIterator(), ResetImagePropertyIterator(), ResetImageRegistryIterator(), ResetSplayTree(), ResetSplayTreeIterator(), ResizeImage(), ReverseImageList(), RGBTransformImage(), RollImage(), RotateImage(), RotationalBlurImageChannel(), SampleImage(), ScaleImage(), SeekBlob(), SegmentImage(), SelectiveBlurImageChannel(), SeparateImage(), SeparateImageChannel(), SeparateImages(), SepiaToneImage(), SetBlobExempt(), SetBlobExtent(), SetCacheAlphaChannel(), SetCacheThreshold(), SetCacheViewStorageClass(), SetCacheViewVirtualPixelMethod(), SetClientName(), SetClientPath(), SetGeometry(), SetGeometryInfo(), SetImage(), SetImageAlphaChannel(), SetImageArtifact(), SetImageAttribute(), SetImageBackgroundColor(), SetImageChannelDepth(), SetImageClipMask(), SetImageColor(), SetImageColorspace(), SetImageGray(), SetImageInfo(), SetImageInfoBlob(), SetImageInfoFile(), SetImageList(), SetImageMask(), SetImageMonochrome(), SetImageOpacity(), SetImageOption(), SetImageProfileInternal(), SetImageProperty(), SetImageRegistry(), SetImageStorageClass(), SetImageType(), SetImageVirtualPixelMethod(), SetMagickInfo(), SetMagickPrecision(), SetPixelCacheExtent(), SetPixelCacheMethods(), SetPixelCacheNexusPixels(), SetPixelCacheVirtualMethod(), SetQuantumDepth(), SetQuantumEndian(), SetQuantumFormat(), SetQuantumImageType(), SetQuantumPad(), SetResampleFilter(), SetResampleFilterInterpolateMethod(), SetResampleFilterVirtualPixelMethod(), SetXMLTreeAttribute(), SetXMLTreeContent(), ShadeImage(), ShadowImage(), SharpenImageChannel(), ShaveImage(), ShearImage(), ShearRotateImage(), ShiftImageList(), ShredFile(), SigmoidalContrastImageChannel(), SignatureImage(), SimilarityMetricImage(), SizeBlob(), SmushImages(), SolarizeImageChannel(), SortColormapByIntensity(), SparseColorImage(), SpliceImage(), SpliceImageIntoList(), SpliceImageList(), SpreadImage(), StatisticImageChannel(), SteganoImage(), StereoAnaglyphImage(), StreamImage(), StreamImagePixels(), StringToArrayOfDoubles(), Strip(), StripImage(), SwirlImage(), SyncAuthenticPixelsStream(), SyncBlob(), SyncImage(), SyncImageSettings(), SyncImagesSettings(), TellBlob(), TemporaryFilename(), TextureImage(), ThresholdImage(), ThresholdImageChannel(), ThrowException(), ThumbnailImage(), TintImage(), TraceEllipse(), TransformColorspace(), TransformImage(), TransformImageColorspace(), TransformImages(), TransformRGBImage(), TranslateText(), TransparentImage(), TransparentPaintImage(), TransparentPaintImageChroma(), TransposeImage(), TransverseImage(), TrimImage(), UnsharpMaskImageChannel(), UnshiftImageList(), ValidateColormapIndex(), VerticalFilter(), VignetteImage(), WaveImage(), WaveletDenoiseImage(), 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(), XRenderImage(), XRetainWindowColors(), XSelectWindow(), XSetCursorState(), XShearImage(), XTextViewWidget(), XWindowByID(), XWindowByName(), XWindowByProperty(), YShearImage(), ZLIBEncodeImage(), and ZoomImage().
#define MagickLogFilename "log.xml" |
typedef void(* MagickLogMethod)(const LogEventType, const char *) |
enum LogEventType |
MagickExport MagickBooleanType MagickExport void CloseMagickLog | ( | void | ) |
MagickExport const LogInfo** GetLogInfoList | ( | const char * | , | |
size_t * | , | |||
ExceptionInfo * | ||||
) |
References AcquireQuantumMemory(), GetLogInfo(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GlobExpression(), LockSemaphoreInfo(), log_cache, log_semaphore, LogInfoCompare(), LogMagickEvent(), MagickFalse, _LogInfo::name, ResetLinkedListIterator(), _LogInfo::stealth, TraceEvent, and UnlockSemaphoreInfo().
Referenced by ListLogInfo().
MagickExport char** GetLogList | ( | const char * | , | |
size_t * | , | |||
ExceptionInfo * | ||||
) |
References AcquireQuantumMemory(), ConstantString(), GetLogInfo(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GlobExpression(), 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 LogComponentGenesis | ( | void | ) |
MagickExport MagickBooleanType MagickExport void LogComponentTerminus | ( | void | ) |
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 * | ) |
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 | ) |
MagickExport const char* * SetLogName | ( | const char * | ) |
References CopyMagickString(), log_name, and MaxTextExtent.