The java.io.Logger.isLoggable method is used to determine whether a particular level of logging is currently enabled for a given Logger instance. This method checks whether the logger's effective level is less than or equal to the given level. If true, it means that the logger will process log records with a level that is greater than or equal to the given level. This method can be used to avoid unnecessary computations for log messages that will not be logged due to their lower level than what is currently enabled.
Java Logger.isLoggable - 16 examples found. These are the top rated real world Java examples of java.io.Logger.isLoggable extracted from open source projects. You can rate examples to help us improve the quality of examples.