rad 6.2.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
rad::LogInitializer Class Reference

#include <logger.hpp>

Public Member Functions

 LogInitializer ()
 
 ~LogInitializer ()=default
 
void Configure (const std::string &filename="")
 
 LogInitializer (const LogInitializer &)=delete
 
LogInitializeroperator= (const LogInitializer &)=delete
 

Detailed Description

This class helps with the initialization and configuration of log4cplus library. An instance of it should be created as soon as possible in the main().

Constructor & Destructor Documentation

◆ LogInitializer() [1/2]

rad::LogInitializer::LogInitializer ( )
inline

Default constructor that initializes the log4cplus library as suggested in the documentation.

◆ ~LogInitializer()

rad::LogInitializer::~LogInitializer ( )
inlinedefault

Destructor that shutdown the log4cplus library as suggested in the documentation.

◆ LogInitializer() [2/2]

rad::LogInitializer::LogInitializer ( const LogInitializer & )
delete

Member Function Documentation

◆ Configure()

void rad::LogInitializer::Configure ( const std::string & filename = "")
inline

Load the log configuration from file.

Parameters
filenameFilename of the log properties.

◆ operator=()

LogInitializer & rad::LogInitializer::operator= ( const LogInitializer & )
delete

The documentation for this class was generated from the following file: