angular2-logger
angular2-logger copied to clipboard
Is it possible to specify a log level per component
Hi,
Let's say I have 10 components, each one is using this great logger, with lots of debugging logs defined. Now I have completed 5 of those components in which I don't needs those debug logs anymore, but I don't want to remove them from the code because I could need them again later. My question is : is there any "simple" way to define a different log level for each component, if none is provided it should be the global log level.
Thanks.
Hi @no-more ,
Sadly not right now, it needs the "Support named loggers" part. I haven't got to it because while trying to maintain the same architecture log4j2 has I noticed it was overcomplicated for web clients, i'll try to settle down in the right architecture soon and let you know.
Thanks a lot.