Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
GMImage.SetLogEventMask
Set log event mask.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
GraphicsMagick | 11.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "GMImage.SetLogEventMask"; EventMask ) More
Parameters
Parameter | Description | Example |
---|---|---|
EventMask | The list of events to monitor, comma separated. |
Result
Returns OK or error.
Description
Set log event mask.Defines which events are logged.
By default logging goes to stderr, so you may need to look into the log files on the FileMaker Server for server side usage and run FileMaker via Terminal on macOS to see logs there.
List of events includes: none, Configure, Annotate, Render, Transform, Locale, Coder, X11, Cache, Blob, Deprecate, User, Resource, TemporaryFile, Exception, Option, Information, Warning, Error, FatalError and All.
Examples
Log all:
Set Variable [ $r ; Value: MBS( "GMImage.SetLogEventMask"; "all" ) ]
Log only coder and annotation events:
Set Variable [ $r ; Value: MBS( "GMImage.SetLogEventMask"; "coder,annotate" ) ]
Disable logging
Set Variable [ $r ; Value: MBS( "GMImage.SetLogEventMask"; "none" ) ]
Release notes
- Version 11.1
- Added GMImage.SetLogEventMask and GMImage.IsLoggingEnabled functions.
Blog Entries
This function is free to use.
Created 25th February 2021, last changed 8th March 2021