https://github.com/cbrnrd/ruby-nanolog
A ruby version of my NanoLog project
https://github.com/cbrnrd/ruby-nanolog
library logging ruby rubygem small
Last synced: over 1 year ago
JSON representation
A ruby version of my NanoLog project
- Host: GitHub
- URL: https://github.com/cbrnrd/ruby-nanolog
- Owner: cbrnrd
- License: mit
- Created: 2017-07-12T02:10:10.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-19T00:40:14.000Z (almost 9 years ago)
- Last Synced: 2025-03-02T09:41:36.566Z (over 1 year ago)
- Topics: library, logging, ruby, rubygem, small
- Language: Ruby
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NanoLog [](https://badge.fury.io/rb/nanolog)  [](https://raw.githubusercontent.com/cbrnrd/ruby-NanoLog/master/LICENSE)
A simple and extremely small logging library for Ruby.
## Getting Started
A simple program using NanoLog looks like so:
```ruby
require 'nanolog'
logger = NanoLog::Logger.new('filepath.log')
logger.info('informational message')
logger.fatal('fatal message')
```
## Installing
Install the gem like so:
`gem install nanolog`
or add the following line to your `Gemfile`:
```ruby
gem 'nanolog'
```
## Design Highlights
- Simple and easy to use API
- Incredibly small gem (~5kb!)
## Documentation
Available [here](http://www.rubydoc.info/gems/nanolog/0.1.1c)
## Authors
- Carter Brainerd (cbrnrd) - [GitHub](https://github.com/cbrnrd)
## Legal stuff
NanoLog is licensed under the MIT license (see [LICENSE](https://github.com/cbrnrd/ruby-NanoLog/blob/master/LICENSE))
## Built with
* [Atom](http://atom.io)
## Thank you
Thank you for using NanoLog 👏.
If you're feeling generous, donations are always appreciated:
```
19XiyrvqyYNLehf89ckBjPQYCfW77F9rx7 (Ƀ, BTC)
0xf6f247e4a929890926F88144111f5E27d87bD07a (ETH)
LQRUJUpSkmi5BfT6nyPVNKKoLWbnpZ64sL (Ł, LTC)
https://www.paypal.me/0xCB (PayPal)
```