Add this line to your application's Gemfile:
gem 'opal-semanticlogger'
And then execute:
$ bundle
Or install it yourself as:
$ gem install opal-semanticlogger
Inside your application.js.rb
:
require 'semantic_logger' # to require the whole semantic_logger
This is a small subset of the ruby SemanticLogger gem.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
opal-semanticlogger is Copyright © 2014 Steve Tuckner. It is free software, and may be redistributed under the terms specified in the LICENSE file (an MIT License).