This gem provides a common logging library to be used for all VCAP projects. It borrows heavily in its structure from the 'logging' gem.
- Minimal dependencies. (Ideally, none.)
- Compatible with both ruby18 and ruby19
- Well tested.
Formatters take a log record and produce a string that can be written to a 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).
Loggers are responsible for dispatching messages that need to be logged off to their appropriate sinks.