Package org.evomaster.client.java.utils
Class SimpleLogger
java.lang.Object
org.evomaster.client.java.utils.SimpleLogger
Client library should be the least invasive as possible.
Using a logger that could conflict with existing ones of the
client would not be a great idea... plus issue with
shading and version mismatch.
So, here we create a simple, custom one that just print
to
System.out.println-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringProperty used to control the logging level by system property -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidstatic voidstatic SimpleLogger.Levelstatic voidstatic voidrecordErrorMessage(String message) static voidsetThreshold(SimpleLogger.Level threshold) static voiduniqueWarn(String message) static voidstatic voidstatic void
-
Field Details
-
PROP_LOGGER_LEVEL
Property used to control the logging level by system property- See Also:
-
-
Constructor Details
-
SimpleLogger
public SimpleLogger()
-
-
Method Details
-
getThreshold
-
setThreshold
-
updateThreshold
public static void updateThreshold() -
debug
-
info
-
recordErrorMessage
-
uniqueWarn
-
warn
-
warn
-
error
-
error
-
getRecordedErrorMsg
-