Logo
Reference manual - version ored_version
Public Member Functions | Friends | List of all members
ConsoleLog Class Reference

Singleton to control console logging. More...

#include <ored/utilities/log.hpp>

+ Inheritance diagram for ConsoleLog:

Public Member Functions

bool enabled ()
 
QuantLib::Size width ()
 
QuantLib::Size progressBarWidth ()
 
void switchOn ()
 
void switchOff ()
 
void setWidth (QuantLib::Size w)
 
void setProgressBarWidth (QuantLib::Size w)
 
std::shared_mutex & mutex ()
 mutex to acquire locks
 

Friends

class QuantLib::Singleton< ConsoleLog, std::integral_constant< bool, true > >
 

Detailed Description

Singleton to control console logging.