Is there an easy way in scripting or through a tag to get the current logging level of a logger? Ideally there would be a system.util.getLoggingLevel() function, but since that does not seem to exist, is there another way to get it? I have a Vision diagnostic window where I would like the user to be able to change the logging level of a logger, but it would be good to be able to show the user what the current level is.
Not directly, but once you have the logger, you can interrogate its
.is*Enabled() methods. If you need more functionality, you can retrieve the SLF4J instance with
someLogger.loggerSLF4J and interrogate that.