README.md in legion-logging-1.1.5 vs README.md in legion-logging-1.2.0

- old
+ new

@@ -1,36 +1,40 @@ -# Legion::Logging +Legion::Logging +===== -Legion::Logging is part of the Legion Framework +Legion::Logging is a ruby logging class that is used by the LegionIO framework. It gives all other gems and extensions a +single logging library to use for consistency. +Supported Ruby versions and implementations +------------------------------------------------ -## Installation +Legion::Json should work identically on: -Add this line to your application's Gemfile: +* JRuby 9.2+ +* Ruby 2.4+ -```ruby -gem 'legion-logging' -``` -And then execute: +Installation and Usage +------------------------ - $ bundle +You can verify your installation using this piece of code: -Or install it yourself as: +```bash +gem install legion-logging +``` - $ gem install legion-logging +```ruby +require 'legion-logging' -## Usage +Legion::Logging.setup(log_file: './legion.log', level: 'debug') +Legion::Logging.setup(level: 'info0') # defaults to stdout when no log_file specified -This library is utilized by Legion to log messages +Legion::Logging.warn('warning a user') +Legion::Logging.info('hello') -## Gem -This gem can be viewed and download from [RubyGems - Legion-Logging](https://rubygems.org/gems/legion-logging) +``` -## Contributing +Authors +---------- -Bug reports and pull requests are welcome on Bitbucket at https://bitbucket.org/legion-io/legion-logging/issues This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct. - -## License - -The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT). \ No newline at end of file +* [Matthew Iverson](https://github.com/Esity) - current maintainer