Skip to content

Commit 3493474

Browse files
committed
added simple usage on doc
1 parent bc1482a commit 3493474

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Readme.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ It Includes
1414
* a series of **Collectors** in order to aggregate your personal data.
1515
* a series of **Commands** in order to execute data also from cli.
1616

17+
## Simple usage!
18+
19+
``` php
20+
$this->get('statsd')
21+
->increment('log.error')
22+
->gauge('log.rate', 25)
23+
->flush();
24+
```
25+
1726
## Check out the documentation
1827

1928
* [Installation and Usage](https://github.com/liuggio/StatsDClientBundle/blob/master/Resources/doc/installation.md)

0 commit comments

Comments
 (0)