-
Type: New Feature
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 7.4
-
Component/s: Infrastructure
-
Tags:
-
Sprint:nxNag Sprint 7.3.7
-
Story Points:0
This logger has the following features:
- log using warn level
- can be activated only when dev mode is set
- can hold the version from which deprecation starts
Sample usage:
String message = String.format("Resource '%s' on component %s should now be contributed to extension " + "point '%s': a compatibility registration was performed but it may not be " + "accurate.", r.getName(), contributor.getName(), WR_XP); DeprecationLogger.log(message, "7.4"); Framework.getRuntime().getWarnings().add(message);