Sha256: e6d28dae5cc0b07bc22a0b7f4c22e1bc948452717741a28fda2ad27de207aa06
Contents?: true
Size: 838 Bytes
Versions: 2
Compression:
Stored size: 838 Bytes
Contents
# EventMachine Logger An experimental logger class for EventMachine applications. ## Usage EM::Logger is a simple delegator around the ruby logger class. It responds to all the log levels you are familiar with from existing loggers (info, debug, warn, etc.). The only difference is that it's instantiated by passing an existing logger in when initializing require 'eventmachine' require 'logger' require 'em-logger' log = Logger.new(STDOUT) logger = EM::Logger.new(log) EM.run do logger.info('ohai') EM.stop end ## Contributing Pull requests welcome: fork, make a topic branch, commit (squash when possible) *with tests* and I'll happily consider. ## Copyright Copyright (c) 2012 Steve Agalloco. See [LICENSE](https://github.com/spagalloco/em-logger/blob/master/LICENSE.md) for detail
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
em-logger-0.1.0 | README.md |
em-logger-0.0.1 | README.md |