Commit a222b183 authored by Julien Michel's avatar Julien Michel

DOC: Add warning about corner case of logger instance

parent 5a4ff83f
......@@ -44,6 +44,14 @@ public:
itkTypeMacro(Logger, itk::Logger);
* If Logger crashes when called from the destructor of a static
* or global object, the singleton might have already been destroyed.
* You can prolong its lifetime by calling Logger::Instance()
* from that object's constructor.
* See
static Pointer Instance();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment