Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(maint) Use the PCP::SimpleLogger in the client
By using PCP::SimpleLogger the later .inspect of the failed client state will include the logged lines about why it failed to connect, something like: <PCP::Client:0x007fc8b52defd0 @logger=#<PCP::SimpleLogger:0x007fc8b52df0e8 @events=[ {:when=>1455722334.0191228, :severity=>0, :message=>[:connect, "wss://localhost:8142/pcp"]}, {:when=>1455722334.019747, :severity=>1, :message=>[:close, 1006, ""]}], @Level=0> ...>
- Loading branch information