ericgj/newman — comment on commit acf3b9e45026d68d65835c18e2bef4693aab3624
File: examples/logging.rb line 32
By sandal:

Perhaps instead of making this a Newman::Application it should just be an ordinary class definition which defines a call() instance method which does the logic our default block currently is doing?

And then that object can be instantiated like:

ResponseLogger.new(logger)