https://github.com/quintsys/trivial_log_formatter
A trivial Logger::Formatter.
https://github.com/quintsys/trivial_log_formatter
Last synced: over 1 year ago
JSON representation
A trivial Logger::Formatter.
- Host: GitHub
- URL: https://github.com/quintsys/trivial_log_formatter
- Owner: quintsys
- License: mit
- Created: 2014-07-16T15:58:00.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-25T15:32:09.000Z (almost 12 years ago)
- Last Synced: 2025-02-24T05:49:55.470Z (over 1 year ago)
- Language: Ruby
- Size: 215 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Trivial Log Formatter
A trivial Logger::Formatter.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'trivial_log_formatter'
```
And then execute:
```bash
$ bundle
```
Or install it yourself as:
```bash
$ gem install trivial_log_formatter
```
## Usage
### Example Rails usage
```ruby
# in config/application.rb
config.logger = Logger.new(STDOUT)
config.logger.formatter = TrivialLogFormatter::Formatter.new
```
## Contributing
1. Fork it ( https://github.com/QuintSys/trivial_log_formatter/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