Class DeprecationLogger


  • public class DeprecationLogger
    extends Object
    Utility class for logging use of deprecated taglib attributes. This will normally not show up at compile time since it is Tomcat that converts the JSP to an executable java class.
    Since:
    3.3.2
    Author:
    Nicklas
    • Field Detail

      • log

        private static final org.slf4j.Logger log
    • Constructor Detail

      • DeprecationLogger

        public DeprecationLogger()
    • Method Detail

      • warn

        public static void warn​(String taglib,
                                String attribute,
                                String removedIn)
        Log a warning for using the given taglib and attribute. 'removedIn' can be set to the BASE version when the attribute will be removed.