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) |
| Modifier and Type | Method and Description |
|---|---|
void |
warn()
Fire one time warning.
|
void |
warn(Object... args)
Fire one time warning using arguments passing arguments to logger
|
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–2017 MuleSoft, Inc.. All rights reserved.