Singleton to control console logging. More...
#include <ored/utilities/log.hpp>
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) |
boost::shared_mutex & | mutex () |
mutex to acquire locks More... | |
Private Member Functions | |
ConsoleLog () | |
Private Attributes | |
bool | enabled_ |
QuantLib::Size | width_ |
QuantLib::Size | progressBarWidth_ |
boost::shared_mutex | mutex_ |
Friends | |
class | QuantLib::Singleton< ConsoleLog, std::integral_constant< bool, true > > |
|
private |
bool enabled | ( | ) |
Definition at line 758 of file log.hpp.
QuantLib::Size width | ( | ) |
QuantLib::Size progressBarWidth | ( | ) |
void switchOn | ( | ) |
void switchOff | ( | ) |
void setWidth | ( | QuantLib::Size | w | ) |
void setProgressBarWidth | ( | QuantLib::Size | w | ) |
boost::shared_mutex & mutex | ( | ) |
|
friend |