#include <iceoryx_hoofs/log/logger.hpp>
|
| Logger (Logger &&other) noexcept |
|
Logger & | operator= (Logger &&rhs) noexcept |
|
| Logger (const Logger &other)=delete |
|
Logger & | operator= (const Logger &rhs)=delete |
|
LogLevel | GetLogLevel () const noexcept |
| Getter method for the current LogLevel.
|
|
void | SetLogLevel (const LogLevel logLevel) noexcept |
| Sets the LogLevel for the Logger.
|
|
cxx::GenericRAII | 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.
|
|
void | SetLogMode (const LogMode logMode) noexcept |
|
bool | IsEnabled (const LogLevel logLevel) const noexcept |
|
LogStream | LogFatal () noexcept |
|
LogStream | LogError () noexcept |
|
LogStream | LogWarn () noexcept |
|
LogStream | LogInfo () noexcept |
|
LogStream | LogDebug () noexcept |
|
LogStream | LogVerbose () noexcept |
|
|
| 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: