/lita-logger

A Lita handler to log all chat messages to a file

Primary LanguageRubyMIT LicenseMIT

lita-logger

lita-logger is a handler for Lita to log all chat messages to a file.

Installation

Add lita-logger to your Lita instance's Gemfile:

gem "lita-logger"

Configuration

This plugin requires the path to the log file.

Lita.configure do |config|
  config.handlers.logger.log_file = "/tmp/lita_chat.log"
  config.handlers.logger.enable_http_log = true
end

License

MIT