Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
bin
lib/vcap
pkg
spec
.gitignore
Gemfile
README.md
Rakefile
TODO.md
vcap_logging.gemspec

README.md

Overview

This gem provides a common logging library to be used for all VCAP projects. It borrows heavily in its structure from the 'logging' gem.

Goals

  • Minimal dependencies. (Ideally, none.)
  • Compatible with both ruby18 and ruby19
  • Well tested.

Core Classes

Formatter

Formatters take a log record and produce a string that can be written to a sink.

Log Sink

Sinks are the final destination for log records. A sink must be configured with a formatter. Typically they wrap other objects that perform IO (such as files and sockets).

Logger

Loggers are responsible for dispatching messages that need to be logged off to their appropriate sinks.

Something went wrong with that request. Please try again.