RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
boost::logging::rdLogger Class Reference

#include <RDLog.h>

Public Member Functions

 rdLogger (std::ostream *dest, bool owner=false)
 
void SetTee (std::ostream &stream)
 Sets a stream to tee the output to.
 
void SetTee (const char *filename)
 Sets a filename to tee the output to.
 
void SetTee (const std::string &filename)
 Sets a filename to tee the output to.
 
void ClearTee ()
 Remove our tee if it's set.
 
 ~rdLogger ()
 

Public Attributes

std::ostream * dp_dest
 
bool df_owner
 
bool df_enabled
 
std::ofstream * dp_teeHelperStream
 
RDTeetee
 
RDTeeStreamteestream
 

Detailed Description

Definition at line 31 of file RDLog.h.

Constructor & Destructor Documentation

◆ rdLogger()

boost::logging::rdLogger::rdLogger ( std::ostream *  dest,
bool  owner = false 
)
inline

Definition at line 41 of file RDLog.h.

◆ ~rdLogger()

boost::logging::rdLogger::~rdLogger ( )
inline

Definition at line 84 of file RDLog.h.

Member Function Documentation

◆ ClearTee()

void boost::logging::rdLogger::ClearTee ( )
inline

Remove our tee if it's set.

Definition at line 71 of file RDLog.h.

◆ SetTee() [1/3]

void boost::logging::rdLogger::SetTee ( const char *  filename)
inline

Sets a filename to tee the output to.

Definition at line 59 of file RDLog.h.

◆ SetTee() [2/3]

void boost::logging::rdLogger::SetTee ( const std::string &  filename)
inline

Sets a filename to tee the output to.

Definition at line 68 of file RDLog.h.

References SetTee().

Referenced by SetTee().

◆ SetTee() [3/3]

void boost::logging::rdLogger::SetTee ( std::ostream &  stream)
inline

Sets a stream to tee the output to.

Definition at line 50 of file RDLog.h.

Member Data Documentation

◆ df_enabled

bool boost::logging::rdLogger::df_enabled

Definition at line 35 of file RDLog.h.

◆ df_owner

bool boost::logging::rdLogger::df_owner

Definition at line 34 of file RDLog.h.

◆ dp_dest

std::ostream* boost::logging::rdLogger::dp_dest

Definition at line 33 of file RDLog.h.

◆ dp_teeHelperStream

std::ofstream* boost::logging::rdLogger::dp_teeHelperStream

Definition at line 37 of file RDLog.h.

◆ tee

RDTee* boost::logging::rdLogger::tee

Definition at line 38 of file RDLog.h.

◆ teestream

RDTeeStream* boost::logging::rdLogger::teestream

Definition at line 39 of file RDLog.h.


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