preaction / Log-Any

Simple, fast Perl logging API compatible with any logging system
Other
13 stars 19 forks source link

getter method for the category field of a logger is missing #86

Closed XSven closed 1 year ago

XSven commented 3 years ago

The factory method

my $logger = Log::Any->get_logger(category => ..., proxy_class => ..., ...);

has some singnificant fields like category and proxy_class and ... Could you provide corresonding getters in one of the next releases? I do not want to use

$logger->{category}

because this makes an assumption about the internals of the logger datastructure.