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 68 of file logger.hpp.
ndn::util::Logger::Logger |
( |
const char * |
name | ) |
|
|
explicit |
const std::string& ndn::util::Logger::getModuleName |
( |
| ) |
const |
|
inline |
bool ndn::util::Logger::isLevelEnabled |
( |
LogLevel |
level | ) |
const |
|
inline |
void ndn::util::Logger::registerModuleName |
( |
const char * |
name | ) |
|
|
static |
void ndn::util::Logger::setLevel |
( |
LogLevel |
level | ) |
|
|
inline |