Actions
Feature #4013
closedLogging API: enumeration of log modules
Start date:
03/27/2017
Due date:
% Done:
100%
Estimated time:
Description
The current API does not support enumeration of available module, which is necessary for some applications (e.g., to implement function like nfd --modules
).
Updated by Alex Afanasyev over 7 years ago
@Junxiao: Was there any specific reason why we didn't provide such an API? I am thinking to simply add
/** \brief get list of names for registered logger modules
*/
static std::set<std::string>
getLoggerNames();
which is constructed from keys of m_loggers
.
Updated by Junxiao Shi over 7 years ago
- Tracker changed from Task to Feature
- Subject changed from Extend Logging API to allow enumeration of log modules to Logging API: enumeration of log modules
I agree with note-1 design.
Updated by Alex Afanasyev over 7 years ago
- Status changed from New to Code review
- % Done changed from 0 to 100
Updated by Alex Afanasyev over 7 years ago
- Status changed from Code review to Closed
Actions