Sha256: b6a2654c6f2d58d1755bfb74306d74dd3c500f8c53ee10a7865ca4555932d115
Contents?: true
Size: 301 Bytes
Versions: 9
Compression:
Stored size: 301 Bytes
Contents
# frozen_string_literal: true module Async::Logger [:debug, :info, :warn, :error, :fatal].each do |name| define_method(name) do |*args, &block| info = respond_to?(:logger_info, true) ? logger_info : nil Console.logger.public_send(name, self, info, *args, &block) end end end
Version data entries
9 entries across 9 versions & 1 rubygems