public class DeprecationLog extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LOG_PREFIX |
Constructor and Description |
---|
DeprecationLog() |
Modifier and Type | Method and Description |
---|---|
static boolean |
log(String featureId,
String message)
Logs a deprecation warning for the provided feature, but only the first time.
|
public static final String LOG_PREFIX
public static boolean log(String featureId, String message)
featureId
.
Remember that logger names are disable-able via configuration if needed.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.