#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, ImageEvent = 0x00200, LocaleEvent = 0x00400, ModuleEvent = 0x00800, PolicyEvent = 0x01000, ResourceEvent = 0x02000, TransformEvent = 0x04000, UserEvent = 0x09000, WandEvent = 0x10000, X11Event = 0x20000, 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) |
| 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 *) |
| #define GetMagickModule | ( | ) | __FILE__,__func__,(unsigned long) __LINE__ |
Definition at line 29 of file log.h.
Referenced by AccelerateConvolveImage(), 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(), Base64Decode(), Base64Encode(), BilevelImageChannel(), BlackThresholdImageChannel(), BlobToFile(), BlobToImage(), BlueShiftImage(), BlurImageChannel(), BorderImage(), BrightnessContrastImageChannel(), 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(), ColorMatrixImage(), 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(), EvaluateImages(), ExcerptImage(), ExpandFilenames(), ExportImagePixels(), ExportQuantumPixels(), ExtendCache(), ExtentImage(), FileToBlob(), FileToImage(), FileToString(), 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(), GetBlurKernel(), GetCacheViewColorspace(), GetCacheViewException(), GetCacheViewExtent(), GetCacheViewStorageClass(), GetCoderInfoList(), GetCoderList(), GetColorCompliance(), 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(), GetImageChannelFeatures(), GetImageChannelKurtosis(), GetImageChannelMean(), GetImageChannelRange(), GetImageChannelStatistics(), GetImageClipMask(), GetImageDecoder(), GetImageDynamicThreshold(), GetImageEncoder(), GetImageException(), GetImageExtent(), GetImageFromList(), GetImageGeometry(), GetImageHistogram(), GetImageInfo(), GetImageList(), GetImageListIndex(), GetImageListLength(), GetImageListSize(), GetImageMagick(), GetImageMask(), GetImageOption(), GetImageProfile(), GetImageProperty(), GetImageQuantizeError(), GetImageReferenceCount(), GetImageRegistry(), GetImageTotalInkDensity(), GetImageType(), GetImageVirtualPixelMethod(), GetLastValueInLinkedList(), GetLocaleInfoList(), GetLocaleList(), GetLocaleOptions(), GetLocaleValue(), GetLogInfoList(), GetLogList(), GetMagicInfoList(), GetMagickAdjoin(), GetMagickBlobSupport(), GetMagickDescription(), GetMagickEndianSupport(), GetMagickGeometry(), GetMagickInfoList(), GetMagickList(), GetMagickPrecision(), 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(), GetOptimalKernelWidth1D(), GetOptimalKernelWidth2D(), GetPageGeometry(), GetPathComponent(), GetPixelCacheColorspace(), GetPixelCacheStorageClass(), GetPixelCacheTileSize(), GetPolicyInfoList(), GetPolicyList(), GetPolicyValue(), GetPreviousImage(), GetQuantizeInfo(), GetQuantumType(), GetSignatureBlocksize(), GetSignatureDigest(), GetSignatureDigestsize(), GetThresholdMapFile(), GetTypeInfoByFamily(), GetTypeInfoList(), GetTypeList(), GetTypeMetrics(), GetValueFromHashmap(), GetValueFromLinkedList(), GetValueFromSplayTree(), GetVirtualIndexesFromStream(), 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(), QueryMagickColorCompliance(), QueueAuthenticNexus(), QueueAuthenticPixelsStream(), RadialBlurImageChannel(), RaiseImage(), RandomChannelThresholdImage(), RandomThresholdImageChannel(), ReacquireMemory(), ReadImage(), ReadImages(), ReadPixelCacheIndexes(), ReadPixelCachePixels(), ReadStream(), ReduceNoiseImage(), ReferenceBlob(), ReferenceImage(), 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(), SetImageColor(), SetImageInfo(), SetImageInfoBlob(), SetImageInfoFile(), SetImageList(), SetImageMask(), SetImageOpacity(), SetImageOption(), SetImageProfile(), SetImageProperty(), SetImageRegistry(), SetImageType(), SetImageVirtualPixelMethod(), SetMagickInfo(), SetMagickPrecision(), SetPixelCacheMethods(), 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(), SyncAuthenticPixelsStream(), SyncBlob(), SyncImage(), SyncImageSettings(), SyncImagesSettings(), 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 * | , | |
| size_t * | , | |||
| ExceptionInfo * | ||||
| ) |
Definition at line 346 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 * | , | |
| size_t * | , | |||
| ExceptionInfo * | ||||
| ) |
Definition at line 439 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 | 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 * | ) |
Definition at line 1675 of file log.c.
References AcquireExceptionInfo(), DestroyExceptionInfo(), _LogInfo::event_mask, GetLogInfo(), GetValueFromLinkedList(), LockSemaphoreInfo(), log_list, log_semaphore, MagickLogEventOptions, MagickTrue, ParseMagickOption(), and UnlockSemaphoreInfo().
Referenced by MagickCoreGenesis().
| MagickExport MagickBooleanType MagickExport void SetLogFormat | ( | const char * | ) |
Definition at line 1721 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 1763 of file log.c.
References CopyMagickString(), log_name, and MaxTextExtent.
1.7.1