Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/springmt/daily_logger
https://github.com/springmt/daily_logger
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/springmt/daily_logger
- Owner: SpringMT
- License: mit
- Created: 2013-11-12T05:42:11.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-15T16:14:49.000Z (about 11 years ago)
- Last Synced: 2024-12-02T04:21:12.079Z (about 2 months ago)
- Language: Ruby
- Size: 129 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# DailyLogger
[![Build Status](https://travis-ci.org/SpringMT/daily_logger.png)](https://travis-ci.org/SpringMT/daily_logger)
[![Coverage Status](https://coveralls.io/repos/SpringMT/daily_logger/badge.png)](https://coveralls.io/r/SpringMT/daily_logger)* Yet Another Logger for ruby
* daily lotate logger## Installation
Add this line to your application's Gemfile:
gem 'daily_logger'
And then execute:
$ bundle
Or install it yourself as:
$ gem install daily_logger
## Usage
```
require 'daily_logger'
logger = DailyLogger.new('/your/directory/filename')
logger.info('info------')
# output /your/directory/filename.info.log.YYYYMMDD
```## Contributing
1. Fork it
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 new Pull Request