Class Deprecation
- java.lang.Object
-
- org.apache.myfaces.tobago.internal.util.Deprecation
-
public final class Deprecation extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
LOG
This Logger object should help to detect the usage of deprecated code.
-
-
-
Field Detail
-
LOG
public static final org.slf4j.Logger LOG
This Logger object should help to detect the usage of deprecated code. The main reason for this class is the lack of a "deprecated concept" for tag libraries. Thought the designer of a Tobago page cannot see in his IDE that a tag or attribute is deprecated.The Tobago Java code will log into this Logger object, with
error
- when the code is deprecated with a loss of function, or
warn
- when the code is deprecated, but still works.
This Logger category can be switched off, in production environment without affecting the normal logging category.
-
-