Namespaces | |
detail | |
log | |
signal | |
Classes | |
class | DummyClientFace |
a client-side face for unit testing More... | |
class | IndentedStream |
Output to stream with specified indent or prefix. More... | |
class | Logger |
Represents a log module in the logging facility. More... | |
class | Logging |
Controls the logging facility. More... | |
class | NotificationStream |
provides a publisher of Notification Stream More... | |
class | NotificationSubscriber |
provides a subscriber of Notification Stream More... | |
class | NotificationSubscriberBase |
class | RttEstimator |
RTT/RTO estimator. More... | |
class | RttEstimatorWithStats |
RTT/RTO estimator that also maintains min/max/average RTT statistics. More... | |
class | SegmentFetcher |
Utility class to fetch the latest version of a segmented object. More... | |
class | Sha256 |
Provides stateful SHA-256 digest calculation. More... | |
class | Sqlite3Statement |
wrap an SQLite3 prepared statement More... | |
Enumerations | |
enum | LogLevel { LogLevel::FATAL = -1, LogLevel::NONE = 0, LogLevel::ERROR = 1, LogLevel::WARN = 2, LogLevel::INFO = 3, LogLevel::DEBUG = 4, LogLevel::TRACE = 5, LogLevel::ALL = 255 } |
Indicates the severity level of a log message. More... | |
Functions | |
static bool | isValidLoggerName (const std::string &name) |
checks if incoming logger name meets criteria More... | |
std::ostream & | operator<< (std::ostream &os, LogLevel level) |
Output LogLevel as a string. More... | |
std::ostream & | operator<< (std::ostream &os, Sha256 &digest) |
LogLevel | parseLogLevel (const std::string &s) |
Parse LogLevel from a string. More... | |
Variables | |
static const LogLevel | INITIAL_DEFAULT_LEVEL = LogLevel::NONE |
|
strong |
Indicates the severity level of a log message.
Definition at line 42 of file logger.hpp.
|
static |
checks if incoming logger name meets criteria
name | name of logger |
Definition at line 83 of file logger.cpp.
std::ostream & ndn::util::operator<< | ( | std::ostream & | os, |
LogLevel | level | ||
) |
Output LogLevel as a string.
std::invalid_argument | unknown level |
Definition at line 31 of file logger.cpp.
std::ostream & ndn::util::operator<< | ( | std::ostream & | os, |
Sha256 & | digest | ||
) |
Definition at line 144 of file sha256.cpp.
LogLevel ndn::util::parseLogLevel | ( | const std::string & | s | ) |
Parse LogLevel from a string.
std::invalid_argument | unknown level name |
Definition at line 56 of file logger.cpp.
|
static |
Definition at line 80 of file logging.cpp.