mschilli / log4perl

Log4j Implementation For Perl
http://log4perl.com
Other
116 stars 66 forks source link

Add ability to use wildcards in cateory selectors in the log4perl config #130

Open kylemhall opened 5 months ago

kylemhall commented 5 months ago

It would be really useful to be able to log statements that all contain a particular category part together that do not necessarily start with the same category part.

For example, let us say we have a category Dominos.Menu.Pizza, and another category PizzaHut.Menu.Pizza.StuffedCrust

It would be nice if we could create a line like log4perl.logger.*.Menu.Pizza = WARN, MENUPIZZA to log all pizza related loggers to screen, or even something log4perl.logger.*.Menu.* = DEBUG, MENU to log all menu related loggers debug statements to screen.