#include <iceoryx_hoofs/log/logger.hpp>
|
| Logger (const std::string &ctxId, const std::string &ctxDescription, const LogLevel appLogLevel) noexcept |
|
virtual void | Log (const LogEntry &entry) const noexcept |
|
◆ GetLogLevel()
LogLevel iox::log::Logger::GetLogLevel |
( |
| ) |
const |
|
noexcept |
Getter method for the current LogLevel.
- Returns
- the current LogLevel
◆ SetLogLevel()
void iox::log::Logger::SetLogLevel |
( |
const LogLevel |
logLevel | ) |
|
|
noexcept |
Sets the LogLevel for the Logger.
- Parameters
-
◆ SetLogLevelForScope()
cxx::GenericRAII iox::log::Logger::SetLogLevelForScope |
( |
const LogLevel |
logLevel | ) |
|
|
noexcept |
Sets the LogLevel to the given level for the lifetime of the GenericRAII object and then sets it back to the previous one.
- Parameters
-
[in] | logLevel | to be set temporarily |
- Returns
- a scope guard which resets the LogLevel to the value at the time when this method was called
◆ LogStream
The documentation for this class was generated from the following file: