#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 = 0x0000, TraceEvent = 0x0001, AnnotateEvent = 0x0002, BlobEvent = 0x0004, CacheEvent = 0x0008, CoderEvent = 0x0010, ConfigureEvent = 0x0020, DeprecateEvent = 0x0040, DrawEvent = 0x0080, ExceptionEvent = 0x0100, LocaleEvent = 0x0200, ModuleEvent = 0x0400, ResourceEvent = 0x0800, TransformEvent = 0x1000, UserEvent = 0x2000, WandEvent = 0x4000, X11Event = 0x8000, 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 * | GetLogInfo (const char *, ExceptionInfo *) |
| 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 | 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 | DestroyLogList (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 AcquireCacheNexus(), AcquireCacheView(), AcquireCacheViewThreadSet(), AcquireImage(), AcquireImageColormap(), AcquireIndexesFromCache(), AcquireIndexesFromStream(), AcquireMagickResource(), AcquireMemory(), AcquireNextImage(), AcquirePixelCache(), AcquirePixelsFromCache(), AcquirePixelsFromStream(), AcquirePixelStream(), AcquireRadonInfo(), AcquireResampleFilter(), AcquireResizeFilter(), AcquireUniqueFileResource(), AdaptiveBlurImageChannel(), AdaptiveResizeImage(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), AddNoiseImageChannel(), AddPathToXMLTree(), AffineTransformImage(), AllocateString(), AnimateImages(), AnnotateImage(), AppendImageFormat(), AppendImages(), AppendImageToList(), AppendValueToLinkedList(), Ascii85Flush(), AttachBlob(), AverageImages(), Base64Decode(), Base64Encode(), BilevelImageChannel(), BlackThresholdImageChannel(), BlobToFile(), BlobToImage(), BlurImageChannel(), BorderImage(), CatchImageException(), ChannelThresholdImage(), CharcoalImage(), ChopImage(), ClassifyImageColors(), ClearLinkedList(), ClipCacheNexus(), ClipImagePath(), CloneCacheMethods(), CloneCacheView(), CloneDiskToDiskPixels(), CloneDiskToMemoryPixels(), CloneImage(), CloneImageArtifacts(), CloneImageOptions(), CloneImageProfiles(), CloneImageProperties(), CloneImages(), CloneMemory(), CloneMemoryToDiskPixels(), CloneMemoryToMemoryPixels(), CloneSplayTree(), CloneString(), CloneStringInfo(), CloseBlob(), ClutImageChannel(), CoalesceImages(), 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(), DestroyCacheInfo(), DestroyCacheView(), DestroyConfigureOptions(), DestroyDrawInfo(), DestroyHashmap(), DestroyImage(), DestroyImageArtifacts(), DestroyImageAttributes(), DestroyImageInfo(), DestroyImageList(), DestroyImageOptions(), DestroyImagePixels(), DestroyImageProperties(), DestroyImageRegistry(), 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(), EdgeImage(), EmbossImage(), EncipherImage(), EnhanceImage(), EOFBlob(), EqualizeImageChannel(), EscapeString(), EvaluateImageChannel(), ExcerptImage(), ExpandFilenames(), ExportImagePixels(), ExportQuantumPixels(), ExtendCache(), ExtentImage(), FileToBlob(), FileToImage(), FileToString(), FileToStringInfo(), FinalizeSignature(), FlipImage(), FloodfillPaintImage(), FlopImage(), FormatStringList(), FrameImage(), FuzzyColorCompare(), FuzzyOpacityCompare(), FxEvaluateSubexpression(), FxGetSymbol(), FxImageChannel(), FxSubexpression(), GammaImage(), GammaImageChannel(), GaussianBlurImageChannel(), GenerateCoefficients(), GetAffineMatrix(), GetAuthenticIndexQueue(), GetAuthenticPixelQueue(), GetAuthenticPixels(), GetBlobError(), GetBlobProperties(), GetBlobSize(), GetBlobStreamHandler(), GetBlurKernel(), GetCacheClass(), GetCacheColorspace(), GetCacheNexus(), GetCacheViewAuthenticIndexQueue(), GetCacheViewAuthenticPixelQueue(), GetCacheViewAuthenticPixels(), GetCacheViewColorspace(), GetCacheViewException(), GetCacheViewExtent(), GetCacheViewStorageClass(), GetCacheViewVirtualIndexQueue(), GetCacheViewVirtualPixelQueue(), GetCacheViewVirtualPixels(), GetCacheVirtualPixelMethod(), 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(), GetImageChannelMean(), GetImageChannelRange(), GetImageChannelStatistics(), GetImageClipMask(), GetImageDecoder(), GetImageDynamicThreshold(), GetImageEncoder(), GetImageException(), GetImageExtent(), GetImageFromList(), GetImageGeometry(), GetImageHistogram(), GetImageInfo(), GetImageList(), GetImageListIndex(), GetImageListLength(), GetImageListSize(), GetImageMagick(), GetImageMask(), GetImageOption(), GetImageProfile(), GetImageProperty(), GetImageQuantizeError(), GetImageRegistry(), GetImageTotalInkDensity(), GetImageType(), GetImageVirtualPixelMethod(), GetIndexesFromCache(), GetIndexesFromStream(), 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(), GetNexusPixels(), GetNumberOfElementsInLinkedList(), GetNumberOfEntriesInHashmap(), GetNumberOfNodesInSplayTree(), GetNumberScenes(), GetOneAuthenticPixel(), GetOneAuthenticPixelFromCache(), GetOneCacheViewAuthenticPixel(), GetOneCacheViewVirtualMethodPixel(), GetOneCacheViewVirtualPixel(), GetOptimalKernelWidth1D(), GetOptimalKernelWidth2D(), GetPageGeometry(), GetPathComponent(), GetPixelCache(), GetPixelsFromCache(), GetPixelsFromStream(), GetPixelStream(), GetPreviousImage(), GetQuantizeInfo(), GetQuantumType(), GetSignatureBlocksize(), GetSignatureDigest(), GetSignatureDigestsize(), GetThresholdMapFile(), GetTypeInfoByFamily(), GetTypeInfoList(), GetTypeList(), GetTypeMetrics(), GetValueFromHashmap(), GetValueFromLinkedList(), GetValueFromSplayTree(), GetVirtualIndexQueue(), GetVirtualPixelQueue(), GetVirtualPixels(), GetXMLTreeAttribute(), GetXMLTreeAttributes(), GetXMLTreeChild(), GetXMLTreeContent(), GetXMLTreeOrdered(), GetXMLTreePath(), GetXMLTreeProcessingInstructions(), GetXMLTreeSibling(), GetXMLTreeTag(), GradientImage(), HorizontalFilter(), Huffman2DEncodeImage(), HuffmanDecodeImage(), HuffmanEncodeImage(), IdentifyImage(), IdentityAffine(), ImageListToArray(), ImagesToBlob(), ImageToBlob(), ImageToFile(), ImplodeImage(), ImportImagePixels(), ImportQuantumPixels(), InitializeSignature(), InjectImageBlob(), InsertImageInList(), InsertValueInLinkedList(), InsertValueInSortedLinkedList(), InterpretImageAttributes(), InterpretImageProperties(), InvokeDelegate(), InvokeDynamicImageFilter(), IsBlobExempt(), IsBlobSeekable(), IsBlobTemporary(), IsGrayImage(), IsHashmapEmpty(), IsHighDynamicRangeImage(), IsHistogramImage(), IsImageObject(), IsImageSimilar(), IsLinkedListEmpty(), IsMonochromeImage(), IsOpaqueImage(), IsPaletteImage(), IsSubimage(), IsTaintImage(), LevelImageChannel(), LevelImageColors(), LevelizeImageChannel(), LiberateMemory(), LiberateSemaphoreInfo(), LinkedListToArray(), LiquidRescaleImage(), ListFiles(), ListThresholdMapFile(), LoadCoderList(), LoadColorList(), LoadConfigureList(), LoadDelegateList(), LoadLocaleList(), LoadLogList(), LoadMagicList(), LoadMagicLists(), LoadMimeList(), LoadTypeList(), LogPathInfo(), LogPolygonInfo(), LogPrimitiveInfo(), LZWEncodeImage(), MagickIncarnate(), MagickMonitor(), MagnifyImage(), MapImage(), MapImages(), MaskCacheNexus(), MatteFloodfillImage(), MedianFilterImage(), MergeImageLayers(), MinifyImage(), ModifyCache(), ModifyImage(), ModulateImage(), MontageImageList(), MorphImages(), MotionBlurImageChannel(), NegateImageChannel(), NewMagickImage(), NewXMLTree(), OilPaintImage(), OpaqueImage(), OpaquePaintImageChannel(), OpenBlob(), OpenCache(), OptimizeImageTransparency(), OptimizeLayerFrames(), OrderedPosterizeImageChannel(), PackbitsEncodeImage(), ParseCloseTag(), ParseGravityGeometry(), ParseImageGeometry(), ParseInternalDoctype(), ParseMetaGeometry(), ParsePageGeometry(), ParseSizeGeometry(), PersistCache(), PingBlob(), PingImage(), PingImages(), PlasmaImage(), PolaroidImage(), PopImageList(), PosterizeImage(), PostscriptGeometry(), PreviewImage(), PrintStringInfo(), ProfileImage(), PruneTagFromXMLTree(), PushImageList(), PutEntryInHashmap(), QuantizationError(), QuantizeImage(), QuantizeImages(), QueryMagickColor(), QueueAuthenticPixels(), QueueCacheViewAuthenticPixels(), RadialBlurImageChannel(), RaiseImage(), RandomChannelThresholdImage(), RandomThresholdImageChannel(), ReacquireMemory(), ReadCacheIndexes(), ReadCachePixels(), ReadImage(), ReadImages(), ReadStream(), RecolorImage(), ReduceNoiseImage(), ReferenceBlob(), ReferenceCache(), ReferenceImage(), RegisterMagickInfo(), RegisterMagickSignalHandler(), 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(), ResetImagePage(), ResetImageProfileIterator(), ResetImagePropertyIterator(), ResetImageRegistryIterator(), ResetLinkedListIterator(), ResetSplayTreeIterator(), ResetStringInfo(), ResizeImage(), ReverseImageList(), RGBTransformImage(), RollImage(), RotateImage(), SampleImage(), ScaleImage(), SeedPseudoRandomGenerator(), SeekBlob(), SegmentImage(), SeparateImageChannel(), SeparateImages(), SepiaToneImage(), SetBlobExempt(), SetBlobExtent(), SetCacheMethods(), SetCacheNexus(), SetCacheThreshold(), SetCacheViewStorageClass(), SetCacheViewVirtualPixelMethod(), SetCacheVirtualPixelMethod(), SetGeometry(), SetGeometryInfo(), SetImage(), SetImageAlphaChannel(), SetImageArtifact(), SetImageAttribute(), SetImageBackgroundColor(), SetImageChannelDepth(), SetImageClipMask(), SetImageColorspace(), SetImageInfo(), SetImageInfoBlob(), SetImageInfoFile(), SetImageList(), SetImageMask(), SetImageOpacity(), SetImageOption(), SetImageProfile(), SetImageProperty(), SetImageRegistry(), SetImageType(), SetImageVirtualPixelMethod(), SetMagickInfo(), SetNexus(), SetPixelStream(), SetQuantumDepth(), SetQuantumFormat(), SetQuantumImageType(), SetQuantumPad(), SetResampleFilter(), SetResampleFilterInterpolateMethod(), SetResampleFilterVirtualPixelMethod(), SetStringInfo(), SetStringInfoDatum(), SetStringInfoLength(), SetStringInfoPath(), SetXMLTreeAttribute(), SetXMLTreeContent(), ShadeImage(), ShadowImage(), SharpenImageChannel(), ShaveImage(), ShearImage(), ShiftImageList(), SigmoidalContrastImageChannel(), SignatureImage(), SizeBlob(), SolarizeImage(), SortColormapByIntensity(), SparseColorImage(), SpliceImage(), SpliceImageIntoList(), SpliceImageList(), SplitStringInfo(), SpreadImage(), SteganoImage(), StereoImage(), StreamImage(), StreamImagePixels(), StringToStringInfo(), Strip(), StripImage(), SubstituteString(), SwirlImage(), SyncAuthenticPixels(), SyncBlob(), SyncCache(), SyncCacheNexus(), SyncCacheViewAuthenticPixels(), SyncImage(), SyncImagePixelCache(), SyncPixelStream(), SystemCommand(), TellBlob(), TemporaryFilename(), TextureImage(), ThresholdImage(), ThresholdImageChannel(), ThumbnailImage(), TintImage(), TransformColorspace(), TransformImage(), TransformImages(), TransformRGBImage(), TranslateText(), TransparentImage(), TransparentPaintImage(), TransparentPaintImageChroma(), TransposeImage(), TransverseImage(), TrimImage(), UnsharpMaskImageChannel(), UnshiftImageList(), ValidateColormapIndex(), VerticalFilter(), VignetteImage(), WaveImage(), WhiteThresholdImageChannel(), WriteCacheIndexes(), WriteCachePixels(), WriteImage(), WriteImages(), WriteStream(), XImportImage(), XMLTreeInfoToXML(), XShearImage(), YShearImage(), ZLIBEncodeImage(), and ZoomImage().
| enum LogEventType |
| MagickExport MagickBooleanType MagickExport void CloseMagickLog | ( | void | ) |
| MagickExport MagickBooleanType MagickExport void DestroyLogList | ( | void | ) |
| MagickExport const LogInfo* GetLogInfo | ( | const char * | , | |
| ExceptionInfo * | ||||
| ) |
| MagickExport const LogInfo* ** GetLogInfoList | ( | const char * | , | |
| unsigned long * | , | |||
| ExceptionInfo * | ||||
| ) |
Definition at line 394 of file log.c.
References AcquireQuantumMemory(), AcquireSemaphoreInfo(), GetLogInfo(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GlobExpression(), log_list, log_semaphore, LogInfoCompare(), LogMagickEvent(), MagickFalse, _LogInfo::name, RelinquishSemaphoreInfo(), ResetLinkedListIterator(), _LogInfo::stealth, and TraceEvent.
Referenced by ListLogInfo().
| MagickExport char** GetLogList | ( | const char * | , | |
| unsigned long * | , | |||
| ExceptionInfo * | ||||
| ) |
Definition at line 487 of file log.c.
References AcquireQuantumMemory(), AcquireSemaphoreInfo(), ConstantString(), GetLogInfo(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GlobExpression(), log_list, log_semaphore, LogCompare(), LogMagickEvent(), MagickFalse, _LogInfo::name, RelinquishSemaphoreInfo(), ResetLinkedListIterator(), _LogInfo::stealth, and TraceEvent.
| MagickExport const char* GetLogName | ( | void | ) |
| MagickExport MagickBooleanType IsEventLogging | ( | void | ) |
| MagickExport MagickBooleanType ListLogInfo | ( | FILE * | , | |
| ExceptionInfo * | ||||
| ) |
| 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 1602 of file log.c.
References AcquireExceptionInfo(), AcquireSemaphoreInfo(), DestroyExceptionInfo(), _LogInfo::event_mask, GetLogInfo(), GetValueFromLinkedList(), log_list, log_semaphore, MagickLogEventOptions, MagickTrue, ParseMagickOption(), RelinquishSemaphoreInfo(), and UndefinedEvents.
Referenced by MagickCoreGenesis().
| MagickExport MagickBooleanType MagickExport void SetLogFormat | ( | const char * | ) |
Definition at line 1648 of file log.c.
References AcquireExceptionInfo(), AcquireSemaphoreInfo(), ConstantString(), DestroyExceptionInfo(), DestroyString(), _LogInfo::format, GetLogInfo(), log_semaphore, and RelinquishSemaphoreInfo().
| MagickExport const char* * SetLogName | ( | const char * | ) |
1.5.7.1