Class: Rack::TrafficLogger::Formatter

Inherits:
Object
  • Object
show all
Defined in:
lib/rack/traffic_logger/formatter.rb,
lib/rack/traffic_logger/formatter/json.rb,
lib/rack/traffic_logger/formatter/stream.rb

Direct Known Subclasses

JSON, Stream

Defined Under Namespace

Classes: JSON, Stream

Instance Method Summary collapse

Instance Method Details

#format(hash) ⇒ Object

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/rack/traffic_logger/formatter.rb', line 8

def format(hash)
  raise NotImplementedError
end