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 TypeMethodDescriptionboolean
void
optionsChanged
(org.eclipse.osgi.service.debug.DebugOptions options) void
Trace a message.void
Trace an error.void
traceFormatted
(String message, Object argument) Trace a formatted message.void
traceFormatted
(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:
optionsChanged
in 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 benull
error
- the error, cannot benull
-
traceFormatted
Trace a formatted message.- Parameters:
message
- the message format, cannot benull
arguments
- the format arguments, cannot benull
, may be empty, may containnull
elements
-
traceFormatted
Trace a formatted message.- Parameters:
message
- the message format, cannot benull
argument
- the format argument, may benull
-