README.md in effective_logging-1.10.1 vs README.md in effective_logging-1.10.2
- old
+ new
@@ -259,9 +259,15 @@
```ruby
//= require effective_logging
```
+and add the user permission:
+
+```ruby
+can :create, Effective::Log
+```
+
then logging an event from JavaScript is almost the same one-liner as from ruby:
```javascript
EffectiveLogger.success('clicked start on a video');
```