Package proguard.classfile.util
Class WarningLogger
java.lang.Object
proguard.classfile.util.WarningPrinter
proguard.classfile.util.WarningLogger
-
Constructor Summary
ConstructorsConstructorDescriptionWarningLogger(org.apache.logging.log4j.Logger logger) WarningLogger(org.apache.logging.log4j.Logger logger, List<String> classFilter) -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of warnings printed so far.voidPrints out the given note without incrementing the warning count, if the given class name passes the class name filter.voidPrints out the given note without incrementing the warning count, if the given class nams pass the class name filter.voidPrints out the given warning and increments the warning count, if the given class name passes the class name filter.voidPrints out the given warning and increments the warning count, if the given class names pass the class name filter.Methods inherited from class proguard.classfile.util.WarningPrinter
accepts, accepts
-
Constructor Details
-
WarningLogger
public WarningLogger(org.apache.logging.log4j.Logger logger) -
WarningLogger
-
-
Method Details
-
getWarningCount
public int getWarningCount()Description copied from class:WarningPrinterReturns the number of warnings printed so far.- Overrides:
getWarningCountin classWarningPrinter
-
print
Description copied from class:WarningPrinterPrints out the given warning and increments the warning count, if the given class name passes the class name filter.- Overrides:
printin classWarningPrinter
-
print
Description copied from class:WarningPrinterPrints out the given warning and increments the warning count, if the given class names pass the class name filter.- Overrides:
printin classWarningPrinter
-
note
Description copied from class:WarningPrinterPrints out the given note without incrementing the warning count, if the given class name passes the class name filter.- Overrides:
notein classWarningPrinter
-
note
Description copied from class:WarningPrinterPrints out the given note without incrementing the warning count, if the given class nams pass the class name filter.- Overrides:
notein classWarningPrinter
-