Task: Share a Logger Instance Among Module/Classes in Ruby
Task: Share a Logger Instance Among Module/Classes in Ruby: a task in Terminal-Lego-15k (Harbor dataset). You are building a Ruby web crawler application structured as a module with several classes. You need to implement a shared logging mechanism where a single Logger instance is accessible…
The task
You are building a Ruby web crawler application structured as a module with several classes. You need to implement a shared logging mechanism where a single `Logger` instance is accessible across all classes within the module, but the logger's output destination is only known at runtime (determined by command-line…
Part of PrimeIntellect/Terminal-Lego-15k.