views:

27

answers:

0

In my java days I used to configure the logger so that different classes had different levels i.e.

Person.logger.level = :debug
Address.logger.level = :error

I haven't been able to find a way to do this with the ruby logger. Perhaps I need to create a separate logger for each class?