Represents a log module in the logging facility.
More...
#include <ndn-cxx/util/logger.hpp>
Represents a log module in the logging facility.
- Note
- Normally, loggers should be defined using NDN_LOG_INIT, NDN_LOG_MEMBER_INIT, or NDN_LOG_MEMBER_INIT_SPECIALIZED.
Definition at line 77 of file logger.hpp.
◆ Logger()
ndn::util::Logger::Logger |
( |
const char * |
name | ) |
|
|
explicit |
◆ getModuleName()
const std::string& ndn::util::Logger::getModuleName |
( |
| ) |
const |
|
inline |
◆ isLevelEnabled()
bool ndn::util::Logger::isLevelEnabled |
( |
LogLevel |
level | ) |
const |
|
inline |
◆ registerModuleName()
void ndn::util::Logger::registerModuleName |
( |
const char * |
name | ) |
|
|
static |
◆ setLevel()
void ndn::util::Logger::setLevel |
( |
LogLevel |
level | ) |
|
|
inline |