Sha256: a813314fc6edf0915cbd643b3e98d661c9a3007186c286f79f83fcbee5c597f9

Contents?: true

Size: 212 Bytes

Versions: 2

Compression:

Stored size: 212 Bytes

Contents

require 'logger'

module SurveyGizmo
  class Logger < ::Logger
    def format_message(severity, timestamp, progname, msg)
      "#{timestamp.strftime('%Y-%m-%d %H:%M:%S')} #{severity} #{msg}\n"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
survey-gizmo-ruby-5.0.4 lib/survey_gizmo/logger.rb
survey-gizmo-ruby-5.0.3 lib/survey_gizmo/logger.rb