README 384 B

12345678910111213141516171819
  1. The ApiLogger plugin allows random sampling of API requests.
  2. Installation
  3. ============
  4. add "addPlugin('ApiLogger');"
  5. to the bottom of your config.php
  6. Settings
  7. ========
  8. frequency: How often to sample (number between 0.0 and 1.0 representing
  9. percentage -- e.g.: 0.1 will check about 10% of hits). Default 1.0
  10. Example
  11. =======
  12. addPlugin('ApiLogger', array(
  13. 'frequency' => 1.0
  14. ));