Package com._1c.g5.v8.dt.export
Class ExportDebugTrace
java.lang.Object
com._1c.g5.v8.dt.export.ExportDebugTrace
- All Implemented Interfaces:
EventListener,org.eclipse.osgi.service.debug.DebugOptionsListener,org.eclipse.osgi.service.debug.DebugTrace
public class ExportDebugTrace
extends Object
implements org.eclipse.osgi.service.debug.DebugOptionsListener, org.eclipse.osgi.service.debug.DebugTrace
Export debug options manager
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringTrace option constant for Export performance -
Method Summary
Modifier and TypeMethodDescriptionstatic ExportDebugTraceReturns instance ofExportDebugTracevoidoptionsChanged(org.eclipse.osgi.service.debug.DebugOptions options) voidstartPerformanceMeasurements(Object measurementsId) Start performance measurements if trace and option is activevoidstopPerformanceMeasurements(Object measurementsId, String messagePattern, TimeUnit timeUnit) Start and trace performance measurements by specified id if trace and option is activevoidvoidvoidtraceDumpStack(String option) voidtraceEntry(String option) voidtraceEntry(String option, Object methodArgument) voidtraceEntry(String option, Object[] methodArguments) voidvoidvoidtracePerformance(String messagePattern, Object... args) Traces a performance export message.
-
Field Details
-
EXPORT_PERFORMANCE_TRACE_OPTION
Trace option constant for Export performance- See Also:
-
-
Method Details
-
getInstance
Returns instance ofExportDebugTrace- Returns:
- instance of
ExportDebugTrace, nevernull
-
optionsChanged
public void optionsChanged(org.eclipse.osgi.service.debug.DebugOptions options) - Specified by:
optionsChangedin interfaceorg.eclipse.osgi.service.debug.DebugOptionsListener
-
startPerformanceMeasurements
Start performance measurements if trace and option is active- Parameters:
measurementsId- the id of measurement, cannot benull
-
stopPerformanceMeasurements
public void stopPerformanceMeasurements(Object measurementsId, String messagePattern, TimeUnit timeUnit) Start and trace performance measurements by specified id if trace and option is active- Parameters:
measurementsId- the id of measurement, cannot benullmessagePattern- the trace message, use{0}to insert performance value, cannot benulltimeUnit- to trace performance value in desired units, cannot benull
-
tracePerformance
Traces a performance export message.used
MessageFormat.format(String, Object...)for formatting trace message- Parameters:
messagePattern- the trace message pattern to display, cannot benullargs- arguments object(s) to format message- See Also:
-
trace
- Specified by:
tracein interfaceorg.eclipse.osgi.service.debug.DebugTrace
-
trace
- Specified by:
tracein interfaceorg.eclipse.osgi.service.debug.DebugTrace
-
traceDumpStack
- Specified by:
traceDumpStackin interfaceorg.eclipse.osgi.service.debug.DebugTrace
-
traceEntry
- Specified by:
traceEntryin interfaceorg.eclipse.osgi.service.debug.DebugTrace
-
traceEntry
- Specified by:
traceEntryin interfaceorg.eclipse.osgi.service.debug.DebugTrace
-
traceExit
- Specified by:
traceExitin interfaceorg.eclipse.osgi.service.debug.DebugTrace
-
traceEntry
- Specified by:
traceEntryin interfaceorg.eclipse.osgi.service.debug.DebugTrace
-
traceExit
- Specified by:
traceExitin interfaceorg.eclipse.osgi.service.debug.DebugTrace
-