class Sorta::Http::Logger
mensfeld.pl/2020/09/building-a-ractor-based-logger-that-will-work-with-non-ractor-compatible-code/
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/sorta/http/logger.rb, line 7 def self.new super do logger = ::Logger.new($stdout) loop do data = recv logger.public_send(data[0], *data[1]) end end end