Class DeprecationLogger

java.lang.Object
net.sf.basedb.clients.web.taglib.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 Details

    • log

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

    • DeprecationLogger

      public DeprecationLogger()
  • Method Details

    • 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.