RDKit
Open-source cheminformatics and machine learning.
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. More...
 
void ClearTee ()
 Remove our tee if it's set. More...
 
 ~rdLogger ()
 

Public Attributes

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

Detailed Description

Definition at line 26 of file RDLog.h.

Constructor & Destructor Documentation

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

Definition at line 34 of file RDLog.h.

Referenced by ~rdLogger().

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

Member Function Documentation

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

Remove our tee if it's set.

Definition at line 51 of file RDLog.h.

References tee, and teestream.

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

Sets a stream to tee the output to.

Definition at line 42 of file RDLog.h.

References tee, and teestream.

Member Data Documentation

bool boost::logging::rdLogger::df_enabled

Definition at line 29 of file RDLog.h.

bool boost::logging::rdLogger::df_owner

Definition at line 29 of file RDLog.h.

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

Definition at line 28 of file RDLog.h.

Referenced by ~rdLogger().

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

Definition at line 31 of file RDLog.h.

Referenced by ClearTee(), SetTee(), and ~rdLogger().

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

Definition at line 32 of file RDLog.h.

Referenced by ClearTee(), SetTee(), and ~rdLogger().


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