Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
repeatedly committed Apr 14, 2016
1 parent 360ad86 commit 9a9e10f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ As of v1, all loggers but `FluentLogger` are removed.

# Usage

## PHP side

```php
<?php

Expand All @@ -41,6 +43,16 @@ $logger = new FluentLogger("localhost","24224");
$logger->post("debug.test",array("hello"=>"world"));
```

## Fluentd side

Use `in_forward`.

```aconf
<source>
@type forward
</source>
```

# Todos

* Stabilize method signatures.
Expand Down

0 comments on commit 9a9e10f

Please sign in to comment.