SixArm.com » Ruby » Vital signs module for debugging, profiling, logging
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.yardoc
doc
lib
test
.codeclimate.yml
.document
.gemtest
.gitattributes
.gitignore
.rspec
.sha512.txt
.travis.yml
CHANGES.md
CONTRIBUTING.md
LICENSE.md
README.md
Rakefile
VERSION
sixarm_ruby_vital-1.0.2-sha512.txt
sixarm_ruby_vital-1.0.2.gem
sixarm_ruby_vital-1.0.4.gem
sixarm_ruby_vital.gemspec

README.md

SixArm.com → Ruby →
Vital signs logger for Ruby

Introduction

Vital has several methods to help with Ruby's typical logger.

The methods automatically prepend helpful debugging information to each log message:

  • timestamp
  • class name
  • method name
  • process information
  • the original message

The methods log using tab separated values, which make the log files easier to parse in our other tools (i.e. awk).

For docs go to http://sixarm.com/sixarm_ruby_vital/doc

Want to help? We're happy to get pull requests.

Install

To install using a Gemfile, add this:

gem "sixarm_ruby_vital", ">= 1.0.4", "< 2"

To install using the command line, run this:

gem install sixarm_ruby_vital -v ">= 1.0.4, < 2"

To install using the command line with high security, run this:

wget http://sixarm.com/sixarm.pem
gem cert --add sixarm.pem && gem sources --add http://sixarm.com
gem install sixarm_ruby_vital -v ">= 1.0.4, < 2" --trust-policy HighSecurity

To require the gem in your code:

require "sixarm_ruby_vital"