Class: Pakyow::Logger::Formatters::Logfmt Private

Inherits:
JSON show all
Defined in:
lib/pakyow/logger/formatters/logfmt.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Formats log messages as logfmt.

Examples:

severity=INFO timestamp="2016-06-20 10:08:29 -0500" id=678cf582 type=http elapsed=0.01ms method=GET uri=/ ip=127.0.0.1
severity=INFO timestamp="2016-06-20 10:08:29 -0500" id=678cf582 type=http elapsed=1.56ms message="hello 2016-06-20 10:08:29 -0500"
severity=INFO timestamp="2016-06-20 10:08:29 -0500" id=678cf582 type=http elapsed=3.37ms status=200

Instance Attribute Summary

Attributes inherited from Pakyow::Logger::Formatter

#output

Method Summary

Methods inherited from Pakyow::Logger::Formatter

#call, #initialize, #verbose!

Constructor Details

This class inherits a constructor from Pakyow::Logger::Formatter