Sha256: 3502aea9c661e9289377ac640db9d50fbf671c7b68761853d12915eabd6163fe
Contents?: true
Size: 327 Bytes
Versions: 60
Compression:
Stored size: 327 Bytes
Contents
require 'twiglet/logger' require 'request_logger' # basic rack application class Application def call(_env) status = 200 headers = { "Content-Type" => "text/json" } body = ["Example rack app"] [status, headers, body] end end use RequestLogger, Twiglet::Logger.new('example_app') run Application.new
Version data entries
60 entries across 60 versions & 1 rubygems