Logging in Ruby with Logger and Lograge
18-Mar-2021 1377
Logging is tricky. You want logs to include enough detail to be useful, but not so much that you're drowning in noise - or violating regulations like GDPR. In this article, Diogo Souza introduces us to Ruby's logging system and the LogRage gem. He shows us how to create custom logs, output the logs in formats like JSON, and reduce the verbosity of default Rails logs.
Logging in Ruby with Logger and Lograge #ruby #rubydeveloper #rubyonrails #Logging #Logger #Lograge https://rubyonrails.ba/link/logging-in-ruby-with-logger-and-lograge