diminish7 / rave

A Google Wave robot client framework for Ruby
http://github.com/diminish7/rave
MIT License
62 stars 8 forks source link

Logging should be optional #5

Open bil-bas opened 14 years ago

bil-bas commented 14 years ago

There are privacy issues involved in logging absolutely everything that the bot sees. I suggest:

Robot#set_logging :received => true, :response => true, :structure => true, :events => true

Where all are initially false. Alternatively, a simpler solution might be: Robot#debug :on/:off