Building a Ractor based logger that will work with non-Ractor compatible code

But we want to share a logger, right? Well, not exactly. What we want is to be able to use the same API to log pieces of information. And that’s the key point here.We can bypass all of our problems quickly. We just need a separate Ractor that will run all the logging for our application with a standard logger compatible API.What do we need to achieve this? Not much. We need to:Create a Ractor that will have the one and only application wide logger.Create API for logging.Connect the Ractor to the Rails.
Building a Ractor based logger that will work with non-Ractor compatible code #ruby #rubydeveloper #rubyonrails #code https://rubyonrails.ba/single/building-a-ractor-based-logger-that-will-work-with-non-ractor-compatible-code

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles