public class WarningCounter extends Object
| Constructor and Description |
|---|
WarningCounter() |
WarningCounter(int maxWarnings)
Initialize this warning counter to warn at most maxWarnings times.
|
| Modifier and Type | Method and Description |
|---|---|
void |
debug(org.apache.commons.logging.Log log,
String format,
Object... option) |
void |
info(org.slf4j.Logger log,
String format,
Object... option) |
void |
info(org.apache.commons.logging.Log log,
String format,
Object... option) |
void |
trace(org.apache.commons.logging.Log log,
String format,
Object... option) |
void |
warn(org.slf4j.Logger log,
String format,
Object... option) |
void |
warn(org.apache.commons.logging.Log log,
String format,
Object... option) |
boolean |
warnAgain() |
public WarningCounter(int maxWarnings)
maxWarnings - maximum number of times the warning will be issued.public WarningCounter()
Copyright © 2017 Campagne Laboratory. All rights reserved.