README.rdoc in log-me-0.0.1 vs README.rdoc in log-me-0.0.2
- old
+ new
@@ -5,11 +5,11 @@
LogMe is especially useful when you need to log Web Service calls or HTTP requests and responses.
== Instalation
=== Gemfile
- gem 'log-me', '~> 0.0.1'
+ gem 'log-me', '~> 0.0.2'
=== Command line
$ gem install log-me
== Usage
@@ -36,10 +36,10 @@
By default will be logged in STDOUT using log level :info:
I, [2011-08-24T01:22:52.677395 #3026] INFO -- : I am logging something here.
Your gem consumer can configure the logger:
- CoolGem.configure_me do |config|
+ CoolGem.configure do |config|
config.log_enabled = false # Disable log
config.log_level = :debug # Change the log level
config.logger = Rails.logger # Use the Rails logger
end