How to enable log MagickCoreApi?
Found following function:
MagickCore::SetLogEventMask("All");
Called and got not result.
But what is the typical scheme for this?
enable log. MagickCoreApi
Re: enable log. MagickCoreApi
That should do it. From Magick++ you can call Magick::Option::debug( true ). As a sanity check, set this environment variable:
- export MAGICK_DEBUG=ALL
Re: enable log. MagickCoreApi
Code: Select all
#include <Magick++.h>
Magick::Option::debug(true);
Where is it declared?
Btw, how to define log file location?
Found in mogickcore api:
MagickCore::SetLogEventMask("All");
But how to define the rest of things in in mogickcore api?
Re: enable log. MagickCoreApi
The log formatting and location is controlled with the log.xml configuration file. If you do not have access to the system location you can always place it in the current directory or ~/.magick/log.xml.