Sha256: b5e684a2a0237820ac8170d0073142b40680293990401947205b1e30528f1835

Contents?: true

Size: 186 Bytes

Versions: 1

Compression:

Stored size: 186 Bytes

Contents

module Backdrop
  class Formatter < Logger::Formatter
    def call(severity, timestamp, progname, msg)
      "#{timestamp.strftime("%H:%M:%S")}: #{severity} - #{msg}\n"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cicloid-backdrop-0.1.0 lib/backdrop/formatter.rb