projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
logging: add LoggerDB::flushAllHandlers()
[folly.git]
/
folly
/
experimental
/
logging
/
LogCategory.h
diff --git
a/folly/experimental/logging/LogCategory.h
b/folly/experimental/logging/LogCategory.h
index e589400e910f0ab0f8d460e463259f81679741b2..d7989f4b62bbc50ababde25290b557b5145c8ec7 100644
(file)
--- a/
folly/experimental/logging/LogCategory.h
+++ b/
folly/experimental/logging/LogCategory.h
@@
-150,6
+150,11
@@
class LogCategory {
*/
void clearHandlers();
+ /**
+ * Get the list of LogHandlers attached to this category.
+ */
+ std::vector<std::shared_ptr<LogHandler>> getHandlers() const;
+
/* Internal methods for use by other parts of the logging library code */
/**