[ITK] Redirect ITK logging
Matt McCormick
matt.mccormick at kitware.com
Wed May 13 10:54:33 EDT 2015
Hi Coert,
Does inheriting from itk::OutputWindow [1] and setting the singleton
instance [2] do what you need?
HTH,
Matt
[1] http://www.itk.org/Doxygen/html/classitk_1_1OutputWindow.html
[2] http://www.itk.org/Doxygen/html/classitk_1_1OutputWindow.html#a0503d987b75a36ca2b92d72c090fd6bd
On Wed, May 13, 2015 at 8:46 AM, Coert Metz <c.metz at quantib.com> wrote:
> Hi all,
>
> Is there a way to catch all log messages coming from ITK and redirect them
> to my own logger class? It seems there is a logger class and there also are
> macro's such as itkGenericOutputMacro. It is not completely clear to me
> which methods are used to log messages within the ITK library and if I can
> catch these messages easily.
>
> Regards,
> Coert Metz
>
>
> This message may contain confidential or privileged information. If you are
> not the addressee, please notify the sender and delete it from your files.
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>
More information about the Community
mailing list