logging: implement FATAL and DFATAL log levels
[folly.git] / folly / experimental / logging / LoggerDB.h
index 9580b7434c2adc0f9ac403431faa6921f48243f4..0f7fed2d21e898748e64f572c7beecf3ae307342 100644 (file)
@@ -94,8 +94,10 @@ class LoggerDB {
   /**
    * Call flush() on all LogHandler objects registered on any LogCategory in
    * this LoggerDB.
+   *
+   * Returns the number of registered LogHandlers.
    */
-  void flushAllHandlers();
+  size_t flushAllHandlers();
 
   /**
    * Initialize the LogCategory* and std::atomic<LogLevel> used by an XLOG()