Sha256: 7e0cd438bb0c5f6c9976f19e76fad1a6f87a287d72457980d1df89e7717bf0f2

Contents?: true

Size: 215 Bytes

Versions: 22

Compression:

Stored size: 215 Bytes

Contents

module Kuroko2
  module Util
    class RailsLoggerFormatter < ::Logger::Formatter
      def call(severity, timestamp, _, msg)
        "%s %-5s: %s\n" % [timestamp.iso8601, severity, msg]
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
kuroko2-0.8.0 lib/autoload/kuroko2/util/rails_logger_formatter.rb
kuroko2-0.7.0 lib/autoload/kuroko2/util/rails_logger_formatter.rb
kuroko2-0.6.0 lib/autoload/kuroko2/util/rails_logger_formatter.rb
kuroko2-0.5.2 lib/autoload/kuroko2/util/rails_logger_formatter.rb
kuroko2-0.5.1 lib/autoload/kuroko2/util/rails_logger_formatter.rb
kuroko2-0.5.0 lib/autoload/kuroko2/util/rails_logger_formatter.rb
kuroko2-0.4.6 lib/autoload/kuroko2/util/rails_logger_formatter.rb
kuroko2-0.4.5 lib/autoload/kuroko2/util/rails_logger_formatter.rb
kuroko2-0.4.4 lib/autoload/kuroko2/util/rails_logger_formatter.rb
kuroko2-0.4.3 lib/autoload/kuroko2/util/rails_logger_formatter.rb
kuroko2-0.4.2 lib/autoload/kuroko2/util/rails_logger_formatter.rb
kuroko2-0.4.1 lib/autoload/kuroko2/util/rails_logger_formatter.rb
kuroko2-0.4.0 lib/autoload/kuroko2/util/rails_logger_formatter.rb
kuroko2-0.3.4 lib/autoload/kuroko2/util/rails_logger_formatter.rb
kuroko2-0.3.3 lib/autoload/kuroko2/util/rails_logger_formatter.rb
kuroko2-0.3.2 lib/autoload/kuroko2/util/rails_logger_formatter.rb
kuroko2-0.3.1 lib/autoload/kuroko2/util/rails_logger_formatter.rb
kuroko2-0.3.0 lib/autoload/kuroko2/util/rails_logger_formatter.rb
kuroko2-0.2.3 lib/autoload/kuroko2/util/rails_logger_formatter.rb
kuroko2-0.2.2 lib/autoload/kuroko2/util/rails_logger_formatter.rb