Re: Finally have cleared the leaks ...
Bob Friesenhahn <[email protected]> Fri, 20 Mar 2020 08:18:23 -0500 (CDT)
| Newsgroups | gmane.comp.video.graphicsmagick.apis |
|---|---|
| Message-ID | <[email protected]> |
You may not have heard from me for a while (a week) but I have been working to add the ability to configure logging and accept log reports using only APIs so that log.mgk is not required. This has been coming along well but I was not happy about adding a C-style callback interface to Magick++ (and there were strange compilation issues regarding it) so I have held off on commits. Anything I add to Magick++ needs to be suitably generic and able to stand the test of time. I am thinking that a function-object style interface is most suitable for the Magick++ logging callback implementation so that the application can inherit from it and can implement whatever functions it needs. It may be that the application just wants access to parameterized raw data, or it may be that the application wants to receive a formatted string based on the specified log format. 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