logging: add LoggerDB::flushAllHandlers()
[folly.git] / folly / experimental / logging / LogCategory.h
index e589400e910f0ab0f8d460e463259f81679741b2..d7989f4b62bbc50ababde25290b557b5145c8ec7 100644 (file)
@@ -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 */
 
   /**