Definition at line 60 of file locklog.h.
OSB_APP::LockLog::LockLog | ( | int | logLevel | ) | [explicit] |
Constructor with log level.
It initializes mutex_.
OSB_APP::LockLog::~LockLog | ( | ) |
Destructor: destroys mutex_.
OSB_APP::LockLog::LockLog | ( | const LockLog & | ) | [private] |
Prevent copying: not implemented.
void OSB_APP::LockLog::elog | ( | ) | [virtual] |
End a log message with a new-line.
Calls OSB_LIB::ConsoleLog::elog() and unlocks.
Reimplemented from OSB_LIB::ConsoleLog.
void OSB_APP::LockLog::endlog | ( | ) | [virtual] |
End a log message without a new-line.
Calls OSB_LIB::ConsoleLog::endlog() and unlocks.
Reimplemented from OSB_LIB::ConsoleLog.
void OSB_APP::LockLog::lock | ( | ) | const [private] |
Lock the logging interface: locks mutex_.
int OSB_APP::LockLog::logLevel | ( | ) | const [virtual] |
Reimplemented from OSB_LIB::LogBase.
Prevent assignment: not implemented.
void OSB_APP::LockLog::setLevel | ( | int | logLevel | ) | [virtual] |
Reimplemented from OSB_LIB::LogBase.
void OSB_APP::LockLog::setVerbose | ( | bool | on | ) | [virtual] |
Reimplemented from OSB_LIB::LogBase.
OSB_LIB::LogBase& OSB_APP::LockLog::start | ( | int | level, | |
bool | noHead | |||
) | [virtual] |
Start a log message.
Locks and calls OSB_LIB::ConsoleLog::start(), see there for a detailed description.
Reimplemented from OSB_LIB::ConsoleLog.
void OSB_APP::LockLog::unlock | ( | ) | const [private] |
Unlock the logging interface: unlocks mutex_.
bool OSB_APP::LockLog::verbose | ( | ) | const [virtual] |
Reimplemented from OSB_LIB::LogBase.
pthread_mutex_t OSB_APP::LockLog::mutex_ [mutable, private] |