jean-airoldie / libzmq-rs

A strict subset of ØMQ with an ergonomic API.
https://jean-airoldie.github.io/libzmq-rs/
Apache License 2.0
58 stars 4 forks source link

Socket event logger #24

Open jean-airoldie opened 5 years ago

jean-airoldie commented 5 years ago

Use the event monitoring API from #23 to create a socket event logger. This would fix #19 by emitting error messages when an authentication fails.

Things to consider:

jean-airoldie commented 5 years ago

Global singleton is probably the way to go. We should only start the event logger if logging is enabled.