MagickCore  6.9.10
Convert, Edit, Or Compose Bitmap Images
log.h File Reference
#include <stdarg.h>
#include "magick/exception.h"
Include dependency graph for log.h:
This graph shows which files directly or indirectly include this file:

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, 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)
 
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)
 

Macro Definition Documentation

◆ GetMagickModule

#define GetMagickModule ( )    __FILE__,__func__,(unsigned long) __LINE__

Referenced by AcquireCacheNexusPixels(), AcquireCoderCache(), AcquireColorCache(), AcquireConfigureCache(), AcquireFxThreadSet(), AcquireImage(), AcquireImageColormap(), AcquireLogCache(), 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(), ConstituteComponentTerminus(), 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(), DrawImage(), 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(), 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(), IsHighDynamicRangeImage(), IsHistogramImage(), IsImageObject(), IsImageSimilar(), IsOpaqueImage(), IsPaletteImage(), IsRightsAuthorized(), IsSubimage(), IsTaintImage(), IsValidColormapIndex(), KapurThreshold(), KuwaharaImageChannel(), 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(), 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(), RegistryComponentTerminus(), RelinquishMagickResource(), RelinquishUniqueFileResource(), RemapImage(), RemapImages(), RemoteDisplayCommand(), RemoveDuplicateLayers(), RemoveFirstImageFromList(), RemoveImageArtifact(), RemoveImageFromList(), RemoveImageOption(), RemoveImageProfile(), RemoveImageProperty(), RemoveImageRegistry(), RemoveLastImageFromList(), RemoveNodeByValueFromSplayTree(), RemoveNodeFromSplayTree(), RemoveZeroDelayLayers(), RenderFreetype(), 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(), 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(), 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(), 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(), XImportImage(), XMLTreeInfoToXML(), XRenderImage(), XShearImage(), YShearImage(), ZLIBEncodeImage(), and ZoomImage().

◆ MagickLogFilename

#define MagickLogFilename   "log.xml"

Typedef Documentation

◆ LogInfo

typedef struct _LogInfo LogInfo

◆ MagickLogMethod

typedef void(* MagickLogMethod) (const LogEventType, const char *)

Enumeration Type Documentation

◆ LogEventType

Enumerator
UndefinedEvents 
NoEvents 
TraceEvent 
AnnotateEvent 
BlobEvent 
CacheEvent 
CoderEvent 
ConfigureEvent 
DeprecateEvent 
DrawEvent 
ExceptionEvent 
ImageEvent 
LocaleEvent 
ModuleEvent 
PolicyEvent 
ResourceEvent 
TransformEvent 
UserEvent 
WandEvent 
X11Event 
AccelerateEvent 
AllEvents 

Function Documentation

◆ CloseMagickLog()

MagickExport MagickBooleanType MagickExport void CloseMagickLog ( void  )

◆ GetLogInfoList()

◆ GetLogList()

◆ GetLogName()

MagickExport const char* GetLogName ( void  )

◆ IsEventLogging()

MagickExport MagickBooleanType IsEventLogging ( void  )

◆ ListLogInfo()

MagickExport MagickBooleanType ListLogInfo ( FILE *  ,
ExceptionInfo  
)

◆ LogComponentGenesis()

MagickExport MagickBooleanType LogComponentGenesis ( void  )

◆ LogComponentTerminus()

MagickExport MagickBooleanType MagickExport void LogComponentTerminus ( void  )

◆ LogMagickEvent()

MagickExport MagickBooleanType LogMagickEvent ( const LogEventType  ,
const char *  ,
const char *  ,
const size_t  ,
const char *  ,
  ... 
)

◆ LogMagickEventList()

MagickExport MagickBooleanType LogMagickEventList ( const LogEventType  ,
const char *  ,
const char *  ,
const size_t  ,
const char *  ,
va_list   
)

◆ SetLogEventMask()

◆ SetLogFormat()

MagickExport MagickBooleanType MagickExport void SetLogFormat ( const char *  )

◆ SetLogMethod()

◆ SetLogName()

MagickExport const char * SetLogName ( const char *  )