Class LogEvent
java.lang.Object
com.foursoft.harness.navext.runtime.io.utils.LogEvent
Helper class to log ValidationEvent
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetLocation(jakarta.xml.bind.ValidationEventLocator locator) static StringgetLocationAndMessage(jakarta.xml.bind.ValidationEvent event) static voidlog(jakarta.xml.bind.ValidationEvent event) logs the event to the slf4j
-
Method Details
-
getLocationAndMessage
- Parameters:
event- the event to parse- Returns:
- the location and the message of the event
-
getLocation
- Parameters:
locator- a locator- Returns:
- the location stored in the locator as string
-
log
public static void log(jakarta.xml.bind.ValidationEvent event) logs the event to the slf4j- Parameters:
event- the validation event to log
-