Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 498 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 498 Bytes

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