Sha256: 06654e284238fa333dc9a816ab455083f7b9b4511c91c19e18153c4b30ff3b1a

Contents?: true

Size: 280 Bytes

Versions: 10

Compression:

Stored size: 280 Bytes

Contents

# frozen_string_literal: true

class Memolog::Formatter < Logger::Formatter
  def call(severity, time, _progname, msg)
    format(
      Format,
      severity[0..0],
      format_datetime(time),
      $PID,
      severity,
      Memolog.uuid,
      msg2str(msg),
    )
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
memolog-0.3.5 lib/memolog/formatter.rb
memolog-0.3.4 lib/memolog/formatter.rb
memolog-0.3.3 lib/memolog/formatter.rb
memolog-0.3.2 lib/memolog/formatter.rb
memolog-0.3.1 lib/memolog/formatter.rb
memolog-0.3.0 lib/memolog/formatter.rb
memolog-0.2.2 lib/memolog/formatter.rb
memolog-0.2.1 lib/memolog/formatter.rb
memolog-0.2.0 lib/memolog/formatter.rb
memolog-0.1.0 lib/memolog/formatter.rb