Re: Finally have cleared the leaks ...

Bob Friesenhahn <[email protected]> Sun, 22 Mar 2020 13:29:10 -0500 (CDT)
Newsgroups gmane.comp.video.graphicsmagick.apis
Message-ID <[email protected]>
I have just pushed a Mercurial changeset which adds a bunch of C and 
C++ functions for setting logger defaults as well as a C-style 
callback.  See the ChangeLog file for details.

The C API documentation can be found at

   http://www.graphicsmagick.org/api/log.html

and the C++ API documentation can be found at

   http://www.graphicsmagick.org/Magick++/Image.html#explicit-logging-configuration-and-callbacks

I have not yet re-implemented the logging formatting code such that 
the format set by the user is used for all cases.  Currently the 
user-specified format is used for cases which write to a file handle 
(file, stderr, stdout).  A user-specified formatter does not make 
sense for the XML file output since it provides discrete parameters.

Please test and make me aware of any problems.

Given the current viral outbreak, I am very aware of my own mortality 
and I want to make sure that GraphicsMagick is in the best shape and 
has a chance to independently survive in the future if something 
happens to me.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt