Definition at line 137 of file imstkLoggerSynchronous.h.
◆ LoggerSynchronous()
imstk::LoggerSynchronous::LoggerSynchronous |
( |
std::shared_ptr< LogOutput > |
output | ) |
|
|
inline |
◆ getCacheOutput()
std::shared_ptr<CacheOutput> imstk::LoggerSynchronous::getCacheOutput |
( |
| ) |
const |
|
inline |
◆ getOutput()
std::shared_ptr<LogOutput> imstk::LoggerSynchronous::getOutput |
( |
| ) |
const |
|
inline |
Gets the output object used by this logger.
- Returns
- The current output object used this logger.
Definition at line 183 of file imstkLoggerSynchronous.h.
◆ getThreshold()
int imstk::LoggerSynchronous::getThreshold |
( |
| ) |
const |
|
inline |
Gets the logging threshold. Anything message with less than this level will be ignored.
- Returns
- The threshold value.
Definition at line 168 of file imstkLoggerSynchronous.h.
◆ setOutput()
void imstk::LoggerSynchronous::setOutput |
( |
std::shared_ptr< LogOutput > |
val | ) |
|
|
inline |
Sets the output object used by this logger.
- Parameters
-
val | The output object to be used. |
Definition at line 197 of file imstkLoggerSynchronous.h.
◆ setThreshold()
void imstk::LoggerSynchronous::setThreshold |
( |
int |
val | ) |
|
|
inline |
Sets the logging threshold. Anything message with less than this level will be ignored.
- Parameters
-
val | The value to be used as the threshold. |
Definition at line 176 of file imstkLoggerSynchronous.h.
◆ writeMessage()
bool imstk::LoggerSynchronous::writeMessage |
( |
const std::string & |
message | ) |
|
|
inline |
Uses the contained instance of LogOutput to write the log message
- Returns
- true on success
- Parameters
-
message | the message to be printed |
Definition at line 160 of file imstkLoggerSynchronous.h.
The documentation for this class was generated from the following file: