Class SnapshotIntegrationTrace

java.lang.Object
com.e1c.g5.v8.dt.internal.snapshot.integration.git.SnapshotIntegrationTrace
All Implemented Interfaces:
EventListener, org.eclipse.osgi.service.debug.DebugOptionsListener

public class SnapshotIntegrationTrace extends Object implements org.eclipse.osgi.service.debug.DebugOptionsListener
Snapshot tracing utility.
  • Constructor Details

    • SnapshotIntegrationTrace

      public SnapshotIntegrationTrace()
  • Method Details

    • optionsChanged

      public void optionsChanged(org.eclipse.osgi.service.debug.DebugOptions options)
      Specified by:
      optionsChanged in interface org.eclipse.osgi.service.debug.DebugOptionsListener
    • isDebugging

      public boolean isDebugging()
      Returns:
      true if tracing is enabled
    • trace

      public void trace(String message)
      Trace a message.
      Parameters:
      message - the message, cannot be null
    • trace

      public void trace(String message, Throwable error)
      Trace an error.
      Parameters:
      message - the message, cannot be null
      error - the error, cannot be null
    • traceFormatted

      public void traceFormatted(String message, Object... arguments)
      Trace a formatted message.
      Parameters:
      message - the message format, cannot be null
      arguments - the format arguments, cannot be null, may be empty, may contain null elements
    • traceFormatted

      public void traceFormatted(String message, Object argument)
      Trace a formatted message.
      Parameters:
      message - the message format, cannot be null
      argument - the format argument, may be null