Allow to log statistics samples as a event operation
[anna.git] / include / anna / statistics / Engine.hpp
index 5300cfa..1852e1a 100644 (file)
@@ -115,11 +115,12 @@ public:
   /**
   * Disable sample log for statistics processings
   *
-  * @param id Concept identification.
+  * @param id Concept identification. If -1 value is provided, all concepts will be deactivated.
   *
   * @return @em false if not concept is registered with provided id
+  * @warning Many systems add concepts dynamically. This method only affects to current concepts registered at statistics engine.
   */
-  bool disableSampleLog(const int & id) throw();
+  bool disableSampleLog(const int & id = -1) throw();
 
   // Gets