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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidoptionsChanged(org.eclipse.osgi.service.debug.DebugOptions options) voidTrace a message.voidTrace an error.voidtraceFormatted(String message, Object argument) Trace a formatted message.voidtraceFormatted(String message, Object... arguments) Trace a formatted message.
-
Constructor Details
-
SnapshotIntegrationTrace
public SnapshotIntegrationTrace()
-
-
Method Details
-
optionsChanged
public void optionsChanged(org.eclipse.osgi.service.debug.DebugOptions options) - Specified by:
optionsChangedin interfaceorg.eclipse.osgi.service.debug.DebugOptionsListener
-
isDebugging
public boolean isDebugging()- Returns:
- true if tracing is enabled
-
trace
Trace a message.- Parameters:
message- the message, cannot benull
-
trace
Trace an error.- Parameters:
message- the message, cannot benullerror- the error, cannot benull
-
traceFormatted
Trace a formatted message.- Parameters:
message- the message format, cannot benullarguments- the format arguments, cannot benull, may be empty, may containnullelements
-
traceFormatted
Trace a formatted message.- Parameters:
message- the message format, cannot benullargument- the format argument, may benull
-