Class JAXBMetadataLogger

java.lang.Object
org.eclipse.persistence.jaxb.compiler.JAXBMetadataLogger

public class JAXBMetadataLogger extends Object

Class used to log warnings during the processing of JAXB annotations and OXM XML bindings files.

  • Field Details

  • Constructor Details

    • JAXBMetadataLogger

      public JAXBMetadataLogger()
      Create a new JAXBMetadataLogger
    • JAXBMetadataLogger

      public JAXBMetadataLogger(int logLevel)
      Create a new JAXBMetadataLogger and set the logLevel.
      Parameters:
      logLevel -
      See Also:
  • Method Details

    • log

      public void log(String message, Object[] args)
      Logs a message at the SessionLog.INFO level.
      Parameters:
      message - The message to log
      args - The arguments corresponding with this message
      See Also:
    • logWarning

      public void logWarning(String message, Object[] args)
      Logs a Warning message to the SessionLog.
      Parameters:
      message - The message to log
      args - The arguments corresponding with this message
      See Also:
    • logException

      public void logException(Throwable throwable)
      Logs a Severe message to the SessionLog. Typically called when EclipseLink is not in a state to continue
      Parameters:
      throwable -
      See Also: