Sha256: 8d7e6017e8080972c5fa3327cd039707adc37b6cd5f0880e49bac8f6548e1696

Contents?: true

Size: 221 Bytes

Versions: 2

Compression:

Stored size: 221 Bytes

Contents

# typed: true
# frozen_string_literal: true

module Bhook
  LOG_FORMATTER = proc { |severity, datetime, progname, msg|
    "#{Thread.current.object_id} #{msg}\n"
  }
  L = Logger.new(STDOUT, formatter: LOG_FORMATTER)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bhook-0.1.6 lib/bhook/logger.rb
bhook-0.1.5 lib/bhook/logger.rb