https://github.com/deployable/deployable-log
Deployable::Log singleton logger
https://github.com/deployable/deployable-log
Last synced: 10 months ago
JSON representation
Deployable::Log singleton logger
- Host: GitHub
- URL: https://github.com/deployable/deployable-log
- Owner: deployable
- License: mit
- Created: 2015-02-03T15:09:30.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-10-18T23:00:07.000Z (over 8 years ago)
- Last Synced: 2025-02-09T20:28:15.746Z (about 1 year ago)
- Language: Ruby
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Deployable::Log
Deployable::Log creates a singleton log instance that will be accessible
via the `log` function where ever you require `deployable/log`
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'deployable-log'
```
And then execute:
$ bundle
Or install it yourself
$ gem install deployable-log
## Usage
require 'deployable/log'
include Deployable::Log
log.info "all the information"
log.error "oh no!"
## Contributing
1. Fork it ( https://github.com/deployable/deployable-log/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request