Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/springmt/daily_logger


https://github.com/springmt/daily_logger

Last synced: about 1 month ago
JSON representation

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