loglevel icon indicating copy to clipboard operation
loglevel copied to clipboard

Provide new api method for clearing all saved levels?

Open kawing-chiu opened this issue 8 years ago • 1 comments

Sometimes I want to take full control of all levels of all loggers. For example when production environment is detected. For a certain logger it could be done by calling setLevel() on that logger directly (not really clearing, but close). However for all loggers altogether, I can't find a way to do that using the current apis.

kawing-chiu avatar Dec 20 '15 09:12 kawing-chiu

Try to iterate over getLoggers() result.

xmedeko avatar Apr 21 '21 14:04 xmedeko