go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elastix::log::guard Class Reference

#include <elxlog.h>

Detailed Description

Does setup and reset the logging system, according to the C++ "RAII" principle)

Definition at line 50 of file elxlog.h.

Public Member Functions

 guard ()
 
 guard (const std::string &log_filename, const bool do_log_to_file, const bool do_log_to_stdout, const level log_level)
 
 ~guard ()
 

Constructor & Destructor Documentation

◆ guard() [1/2]

elastix::log::guard::guard ( )

Default-constructor, just creates a guard object, to be destructed later.

◆ guard() [2/2]

elastix::log::guard::guard ( const std::string & log_filename,
const bool do_log_to_file,
const bool do_log_to_stdout,
const level log_level )

Does setup the logging system.

◆ ~guard()

elastix::log::guard::~guard ( )

Does reset the logging system.



Generated on 2024-07-17 for elastix by doxygen 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) elastix logo