public class OneTimeWarning extends Object
warn() message will log that message only once, in a thread-safe manner.
This component is conceived with the intent of allowing deprecated components to warn
that they should not be used anymore.| Constructor and Description |
|---|
OneTimeWarning(org.slf4j.Logger logger,
String message) |
public OneTimeWarning(org.slf4j.Logger logger,
String message)
public void warn()
public void warn(Object... args)
args - arguments to pass to logger along with message defined when this instance was created.Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.