README.md in alephant-logger-1.2.0 vs README.md in alephant-logger-1.2.1
- old
+ new
@@ -23,10 +23,14 @@
```
$ gem install alephant-logger
```
+In addition to this, you may want to install one of the supported Alephant logger drivers:
+* [alephant-logger-statsd](https://github.com/BBC-News/alephant-logger-statsd)
+* [alephant-logger-cloudwatch](https://github.com/BBC-News/alephant-logger-cloudwatch)
+
## Usage
```rb
require "alephant/logger"
require "alephant/logger/statsd"
@@ -39,19 +43,13 @@
}
statsd_driver = Alephant::Logger::Statsd.new config
cloudwatch_driver = Alephant::Logger::CloudWatch.new "my_namespace"
-logger = Alephant::Logger.create([statsd_driver, cloudwatch_driver])
+logger = Alephant::Logger.setup([statsd_driver, cloudwatch_driver])
logger.increment "foo.bar"
logger.metric(:name => "FooBar", :unit => "Count", :value => 1)
```
-
-## Drivers
-
-You can consume an array of other gems to allow Alephant Logger to send custom metrics:
-
-1. [Statsd](https://github.com/BBC-News/alephant-logger-statsd#alephantloggerstatsd)
## Contributing
1. [Fork it!](http://github.com/BBC-News/alephant-logger/fork)
2. Create your feature branch: `git checkout -b my-new-feature`