Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
CleanUpLogSingleton Class Reference

#include <orea/app/cleanupsingletons.hpp>

+ Collaboration diagram for CleanUpLogSingleton:

Public Member Functions

 CleanUpLogSingleton (const bool removeLoggers=false, const bool clearIndependentLoggers=true)
 
 ~CleanUpLogSingleton ()
 

Private Attributes

bool removeLoggers_
 
bool clearIndependentLoggers_
 

Detailed Description

Definition at line 38 of file cleanupsingletons.hpp.

Constructor & Destructor Documentation

◆ CleanUpLogSingleton()

CleanUpLogSingleton ( const bool  removeLoggers = false,
const bool  clearIndependentLoggers = true 
)

Definition at line 52 of file cleanupsingletons.cpp.

◆ ~CleanUpLogSingleton()

Definition at line 55 of file cleanupsingletons.cpp.

55 {
57 ore::data::Log::instance().clearAllIndependentLoggers();
59 ore::data::Log::instance().removeAllLoggers();
60}

Member Data Documentation

◆ removeLoggers_

bool removeLoggers_
private

Definition at line 44 of file cleanupsingletons.hpp.

◆ clearIndependentLoggers_

bool clearIndependentLoggers_
private

Definition at line 44 of file cleanupsingletons.hpp.