Custom Logging Rules in Ruby

What are the best practices for managing user logging in Ruby? Should I be a monkeypatching logger to do what I want? Or extends from it? Or delegation? Which ruby ​​way? I'm sick of it because of this; I would like to make something cleaner and ideally more elegant.

+3
source share
4 answers

In my experience, log4r is no more popular (and I don’t know why these days I can’t access the log4r homepage). Instead, logging is much better.

BRU

https://www.ruby-toolbox.com/categories/logging

+3
source
+7

log4r? - .

+3

Ruby Slf4j, Java, , Slf4r. .

+1

Source: https://habr.com/ru/post/1760683/


All Articles