Commit e33d138
committed
minor #100 Expose all formaters as services (lyrixx)
This PR was merged into the 2.6.x-dev branch.
Discussion
----------
Expose all formaters as services
Right now, it's not damn easy to configure a custom formatter
for an handler, because the developer should create a new service.
So, only for formatter that does not depend on external
configuration, we can use directly monolog formatter:
heka:
type: socket
connection_string: "%heka_endpoint%"
timeout: 1
connection_timeout: 1
formatter: monolog.formatter.json_formatter
Commits
-------
401ee75 Expose all formater as services1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| |||
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
60 | 70 | | |
61 | 71 | | |
0 commit comments