LogentriesCommunity / le_php

Logentries support for PHP
29 stars 17 forks source link

Multiple connections #8

Closed jrschumacher closed 8 years ago

jrschumacher commented 10 years ago

I noticed that logentries by default is a singleton. This is handy, but for my situation I would prefer to open a number of sockets so I can connect with multiple channels.

Could we make the constructor public but keep the tcp socket as static? This way we can reduce the sockets, but maintain the ability to post logs to multiple channels.