Logger package: proper use case for log_threshold


I am messing with package logger for logging database synchro script information. Not sure how to use log_threshold function. I understand the basic functioning - to set the bar for your logs, so the low priority logs won't get printed/appended. But I don't get the use case. Could it be useful for logging different levels for different modules/functions of your script? At first I thought that log_level should rather be a property of log_file via the log_appender. So you would set up different files which would log different information at the different level/granularity. But thats not how any of it works.

Thanks for a hint!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.