Logo
Reference manual - version ored_version
Public Member Functions | Static Public Attributes | List of all members
ProgressLogger Class Reference

#include <ored/utilities/log.hpp>

+ Inheritance diagram for ProgressLogger:

Public Member Functions

 ProgressLogger ()
 Constructors.
 
 ProgressLogger (const bool coutLog)
 
const boost::shared_ptr< file_sink > & fileSink ()
 
const boost::shared_ptr< cout_sink > & coutSink ()
 
virtual void removeSinks () override
 Destructor.
 
void setCoutLog (bool flag)
 
void setFileLog (const std::string &filepath, const boost::filesystem::path &dir, QuantLib::Size rotationSize)
 
- Public Member Functions inherited from IndependentLogger
virtual ~IndependentLogger ()
 Destructor.
 
const std::string & name ()
 Returns the Logger name.
 

Static Public Attributes

static const std::string name
 the name "ProgressLogger"
 

Additional Inherited Members

- Protected Member Functions inherited from IndependentLogger
 IndependentLogger (const std::string &name)
 Constructor. More...
 

Detailed Description

ProgressLogger //! This logger stores each log message in a separate location indicating progress of analytic runs.