MagickCore  7.0.7
Convert, Edit, Or Compose Bitmap Images
log.h File Reference
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 = 0x000000, NoEvents = 0x00000, AccelerateEvent = 0x00001, AnnotateEvent = 0x00002,
  BlobEvent = 0x00004, CacheEvent = 0x00008, CoderEvent = 0x00010, ConfigureEvent = 0x00020,
  DeprecateEvent = 0x00040, DrawEvent = 0x00080, ExceptionEvent = 0x00100, ImageEvent = 0x00200,
  LocaleEvent = 0x00400, ModuleEvent = 0x00800, PixelEvent = 0x01000, PolicyEvent = 0x02000,
  ResourceEvent = 0x04000, TraceEvent = 0x08000, TransformEvent = 0x10000, UserEvent = 0x20000,
  WandEvent = 0x40000, X11Event = 0x80000, CommandEvent = 0x100000, 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 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 SetLogFormat (const char *)
 
MagickExport MagickBooleanType MagickExport void SetLogMethod (MagickLogMethod)
 

Macro Definition Documentation

◆ GetMagickModule

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

Definition at line 28 of file log.h.

Referenced by AcquireCacheNexusPixels(), AcquireCoderCache(), AcquireColorCache(), AcquireConfigureCache(), AcquireFxThreadSet(), AcquireImage(), AcquireImageColormap(), AcquireLogCache(), AcquireMagicCache(), AcquireMagickInfo(), AcquireMagickResource(), AcquireMatrixInfo(), AcquireNextImage(), AcquirePolicyCache(), AcquireResampleFilter(), AcquireResizeFilter(), AcquireStreamPixels(), AcquireUniqueFileResource(), AcquireVirtualCacheView(), AdaptiveBlurImage(), AdaptiveSharpenImage(), AdaptiveThresholdImage(), AddNoiseImage(), AddPathToXMLTree(), AffineTransformImage(), AnimateImages(), AnnotateImage(), AppendImageFormat(), AppendImages(), AppendImageToList(), Ascii85Flush(), AttachBlob(), AttachCustomStream(), AutoThresholdImage(), Base64Decode(), Base64Encode(), BilevelImage(), BlackThresholdImage(), BlobToFile(), BlobToImage(), BlueShiftImage(), BlurImage(), BorderImage(), BrightnessContrastImage(), CannyEdgeImage(), CatchImageException(), ChannelFxImage(), CharcoalImage(), CheckImageColors(), ChopImage(), ClampImage(), ClassifyImageColors(), ClipImagePath(), CloneCacheView(), CloneImage(), CloneImageArtifacts(), CloneImageOptions(), CloneImageProfiles(), CloneImageProperties(), CloneImages(), ClonePixelCache(), ClonePixelCacheMethods(), ClonePixelCacheRepository(), CloneSplayTree(), CloseBlob(), ClutImage(), CoalesceImages(), ColorDecisionListImage(), ColorizeImage(), ColorMatrixImage(), CombineImages(), CompareImages(), CompareImagesLayers(), ComplexImages(), CompositeImage(), CompositeLayers(), CompressImageColormap(), ConnectedComponentsImage(), ConnectPixelCacheServer(), ConsolidateCMYKImages(), ConstituteImage(), ConstrainColormapIndex(), ContrastImage(), ContrastStretchImage(), CopyImagePixels(), CropImage(), CropImageToTiles(), CustomStreamToImage(), CycleColormapImage(), DecipherImage(), DeleteImageArtifact(), DeleteImageOption(), DeleteImageProfile(), DeleteImageProperty(), DeleteImageRegistry(), DeleteImages(), DeleteNodeByValueFromSplayTree(), DeleteNodeFromSplayTree(), DeskewImage(), DespeckleImage(), DestroyBlob(), DestroyCacheView(), DestroyCustomStreamInfo(), DestroyDrawInfo(), DestroyImage(), DestroyImageArtifacts(), DestroyImageInfo(), DestroyImageList(), DestroyImageOptions(), DestroyImagePixelCache(), DestroyImagePixels(), DestroyImageProperties(), DestroyLocaleOptions(), DestroyMontageInfo(), DestroyPixelCache(), DestroyPixelStream(), DestroyQuantizeInfo(), DestroyRandomInfo(), DestroyResampleFilter(), DestroySignatureInfo(), DestroyStreamInfo(), DestroyTokenInfo(), DestroyXMLTree(), DestroyXMLTreeRoot(), DetachBlob(), DisassociateBlob(), DisassociateImageStream(), DisplayImages(), DisposeImages(), DistortImage(), DistortResizeImage(), DrawAffineImage(), DrawClipPath(), DrawDashPolygon(), DrawGradientImage(), DrawImage(), DrawPatternPath(), DrawPolygonPrimitive(), DrawPrimitive(), DrawStrokePolygon(), DuplicateBlob(), DuplicateImages(), EdgeImage(), EmbossImage(), EncipherImage(), EnhanceImage(), EOFBlob(), EqualizeImage(), EvaluateImage(), EvaluateImages(), ExcerptImage(), ExpandFilenames(), ExportBlackQuantum(), ExportCMYKAQuantum(), ExportCMYKOQuantum(), ExportCMYKQuantum(), ExportImagePixels(), ExportIndexAlphaQuantum(), ExportIndexQuantum(), ExportQuantumPixels(), ExtentImage(), ExternalDelegateCommand(), FileToBlob(), FileToImage(), FileToString(), FileToStringInfo(), FinalizeSignature(), FlipImage(), FloodfillPaintImage(), FlopImage(), ForwardFourierTransformImage(), FrameImage(), FunctionImage(), FxEvaluateSubexpression(), FxGetSymbol(), FxImage(), FxSubexpression(), GammaImage(), GaussianBlurImage(), GenerateCoefficients(), GetAffineMatrix(), GetAuthenticMetacontentFromStream(), GetAuthenticPixelsFromStream(), GetAuthenticPixelsStream(), GetBlobError(), GetBlobProperties(), GetBlobSize(), GetBlobStreamHandler(), GetCacheViewColorspace(), GetCacheViewExtent(), GetCacheViewImage(), GetCacheViewStorageClass(), GetCoderInfoList(), GetCoderList(), GetColorCompliance(), GetColorInfoList(), GetColorList(), GetColorTuple(), GetConfigureInfoList(), GetConfigureList(), GetConfigureOption(), GetConfigureOptions(), GetConfigurePaths(), GetConfigureValue(), GetDelegateCommand(), GetDelegateCommands(), GetDelegateInfoList(), GetDelegateList(), GetDelegateMode(), GetDelegateThreadSupport(), GetDrawInfo(), GetImageAlphaChannel(), GetImageArtifact(), GetImageBoundingBox(), GetImageDepth(), GetImageDistortion(), GetImageDistortions(), GetImageDynamicThreshold(), GetImageEntropy(), GetImageExtent(), GetImageExtrema(), GetImageFeatures(), GetImageFromList(), GetImageHistogram(), GetImageInfo(), GetImageKurtosis(), GetImageListLength(), GetImageMagick(), GetImageMask(), GetImageMean(), GetImageMoments(), GetImageOption(), GetImageProfile(), GetImageProperty(), GetImageQuantizeError(), GetImageRange(), GetImageReferenceCount(), GetImageRegistry(), GetImageStatistics(), GetImageTotalInkDensity(), GetImageVirtualPixelMethod(), GetLocaleInfoList(), GetLocaleList(), GetLocaleOptions(), GetLocaleValue(), GetLocationStatistics(), GetLogInfoList(), GetLogList(), GetMagicInfoList(), GetMagickInfoList(), GetMagickList(), GetMagickPrecision(), GetMagickProperty(), GetMagickPropertyLetter(), GetMagicList(), GetMagicName(), GetMimeDescription(), GetMimeInfoList(), GetMimeList(), GetMimeType(), GetMontageInfo(), GetMotionBlurKernel(), GetMultilineTypeMetrics(), GetNextImageArtifact(), GetNextImageInList(), GetNextImageOption(), GetNextImageProfile(), GetNextImageProperty(), GetNextImageRegistry(), GetNextKeyInSplayTree(), GetNextValueInSplayTree(), GetNextXMLTreeTag(), GetNumberOfNodesInSplayTree(), GetOptimalKernelWidth1D(), GetOptimalKernelWidth2D(), GetPageGeometry(), GetPathComponent(), GetPixelCacheColorspace(), GetPixelCacheStorageClass(), GetPixelCacheTileSize(), GetPolicyInfoList(), GetPolicyList(), GetPolicyValue(), GetQuantizeInfo(), GetQuantumType(), GetRootValueFromSplayTree(), GetSignatureBlocksize(), GetSignatureDigest(), GetSignatureDigestsize(), GetThresholdMapFile(), GetTypeInfoByFamily(), GetTypeInfoList(), GetTypeList(), GetTypeMetrics(), GetValueFromSplayTree(), GetVirtualMetacontentFromStream(), GetVirtualPixelsFromNexus(), GetVirtualPixelsStream(), GetVirtualPixelStream(), GetXMLTreeAttribute(), GetXMLTreeAttributes(), GetXMLTreeChild(), GetXMLTreeContent(), GetXMLTreeOrdered(), GetXMLTreePath(), GetXMLTreeProcessingInstructions(), GetXMLTreeSibling(), GetXMLTreeTag(), GradientImage(), GrayscaleImage(), HaldClutImage(), HorizontalFilter(), HoughLineImage(), HuffmanDecodeImage(), HuffmanEncodeImage(), Hull(), IdentifyImage(), IdentifyImageGray(), IdentifyImageMonochrome(), IdentifyImageType(), IdentifyPaletteImage(), ImageListToArray(), ImagesToBlob(), ImagesToCustomStream(), ImageToBlob(), ImageToCustomStream(), ImageToFile(), ImplodeImage(), ImportBlackQuantum(), ImportCMYKAQuantum(), ImportCMYKOQuantum(), ImportCMYKQuantum(), ImportImagePixels(), ImportIndexAlphaQuantum(), ImportIndexQuantum(), ImportQuantumPixels(), InitializeSignature(), InjectImageBlob(), InsertImageInList(), InterpolativeResizeImage(), InterpretDelegateProperties(), InterpretImageProperties(), InverseFourierTransformImage(), InvokeDelegate(), InvokeDynamicImageFilter(), IsBlobExempt(), IsBlobSeekable(), IsBlobTemporary(), IsEquivalentImage(), IsHighDynamicRangeImage(), IsHistogramImage(), IsImageObject(), IsImageOpaque(), IsPaletteImage(), IsRightsAuthorized(), IsTaintImage(), KapurThreshold(), KuwaharaImage(), LevelImage(), LevelImageColors(), LevelizeImage(), LiquidRescaleImage(), ListFiles(), ListThresholdMapFile(), LoadCoderCache(), LoadColorCache(), LoadConfigureCache(), LoadDelegateCache(), LoadLocaleCache(), LoadLogCache(), LoadMagicCache(), LoadMimeCache(), LoadPolicyCache(), LoadTypeCache(), LocalContrastImage(), LogPathInfo(), LogPixelChannels(), LogPolygonInfo(), LogPrimitiveInfo(), LZWEncodeImage(), MagnifyImage(), MeanShiftImage(), MergeImageLayers(), MinifyImage(), ModifyImage(), ModulateImage(), MontageImageList(), MorphImages(), MorphologyImage(), MotionBlurImage(), NegateImage(), NewMagickImage(), NewXMLTree(), OilPaintImage(), OpaquePaintImage(), OpenBlob(), OpenPixelCache(), OptimizeImageTransparency(), OptimizeLayerFrames(), OrderedDitherImage(), OTSUThreshold(), PackbitsEncodeImage(), ParseAffineGeometry(), ParseCloseTag(), ParseGravityGeometry(), ParseInternalDoctype(), ParseMetaGeometry(), ParsePageGeometry(), ParseRegionGeometry(), PasskeyDecipherImage(), PasskeyEncipherImage(), PerceptibleImage(), PersistPixelCache(), PingBlob(), PingImage(), PingImages(), PlasmaImage(), PolaroidImage(), PolynomialImage(), PosterizeImage(), PreviewImage(), ProfileImage(), PruneTagFromXMLTree(), QuantizeImage(), QuantizeImages(), QueryColorCompliance(), QueueAuthenticPixelCacheNexus(), QueueAuthenticPixelsStream(), RaiseImage(), RandomThresholdImage(), ReadImage(), ReadImages(), ReadPixelCacheMetacontent(), 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(), ResetImageProfileIterator(), ResetImagePropertyIterator(), ResetImageRegistryIterator(), ResetSplayTree(), ResetSplayTreeIterator(), ResizeImage(), ReverseImageList(), RollImage(), RotateImage(), RotationalBlurImage(), SampleImage(), ScaleImage(), SeekBlob(), SegmentImage(), SelectiveBlurImage(), SeparateImage(), SeparateImages(), SepiaToneImage(), SetBlobExempt(), SetBlobExtent(), SetCacheAlphaChannel(), SetCacheViewStorageClass(), SetCacheViewVirtualPixelMethod(), SetGeometry(), SetGeometryInfo(), SetImageAlpha(), SetImageAlphaChannel(), SetImageArtifact(), SetImageBackgroundColor(), SetImageColor(), SetImageColorspace(), SetImageDepth(), SetImageGray(), SetImageInfo(), SetImageInfoBlob(), SetImageInfoCustomStream(), SetImageInfoFile(), SetImageMask(), SetImageMonochrome(), SetImageOption(), SetImageProfileInternal(), SetImageProperty(), SetImageRegionMask(), SetImageRegistry(), SetImageStorageClass(), SetImageType(), SetImageVirtualPixelMethod(), SetMagickPrecision(), SetPixelCacheExtent(), SetPixelCacheMethods(), SetPixelCacheVirtualMethod(), SetPixelChannelMask(), SetQuantumDepth(), SetQuantumEndian(), SetQuantumFormat(), SetQuantumImageType(), SetQuantumPad(), SetResampleFilter(), SetResampleFilterInterpolateMethod(), SetResampleFilterVirtualPixelMethod(), SetXMLTreeAttribute(), SetXMLTreeContent(), ShadeImage(), ShadowImage(), SharpenImage(), ShaveImage(), ShearImage(), ShearRotateImage(), ShredFile(), SigmoidalContrastImage(), SignatureImage(), SimilarityImage(), SmushImages(), SolarizeImage(), SortColormapByIntensity(), SparseColorImage(), SpliceImage(), SpliceImageIntoList(), SpreadImage(), sRGBTransformImage(), StatisticImage(), SteganoImage(), StereoAnaglyphImage(), StreamImage(), StreamImagePixels(), StringToArrayOfDoubles(), StripImage(), SwirlImage(), SyncAuthenticPixelsStream(), SyncBlob(), SyncImage(), SyncImageSettings(), SyncImagesSettings(), TellBlob(), TextureImage(), ThumbnailImage(), TintImage(), TransformImage(), TransformImageColorspace(), TransformsRGBImage(), TransparentPaintImage(), TransparentPaintImageChroma(), TransposeImage(), TransverseImage(), TrimImage(), UnsharpMaskImage(), ValidateColormapValue(), VerticalFilter(), VignetteImage(), WaveImage(), WaveletDenoiseImage(), WhiteThresholdImage(), WriteImage(), WriteImages(), WritePixelCacheMetacontent(), WritePixelCachePixels(), WriteStream(), XImportImage(), XMLTreeInfoToXML(), XRenderImage(), XShearImage(), YShearImage(), and ZLIBEncodeImage().

◆ MagickLogFilename

#define MagickLogFilename   "log.xml"

Definition at line 31 of file log.h.

Typedef Documentation

◆ LogInfo

typedef struct _LogInfo LogInfo

Definition at line 61 of file log.h.

◆ MagickLogMethod

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

Definition at line 65 of file log.h.

Enumeration Type Documentation

◆ LogEventType

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

Definition at line 33 of file log.h.

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  
)

◆ 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 *  )

Definition at line 1868 of file log.c.

References CopyMagickString(), log_name, and MagickPathExtent.