TelemetryLogger constructor
TelemetryLogger({
- Event<
TelemetryLogger> ? onDidChangeEnableStates, - bool? isUsageEnabled,
- bool? isErrorsEnabled,
- void logUsage(
- String, [
- dynamic
- void dispose()?,
Implementation
factory TelemetryLogger({
_i3.Event<_i3.TelemetryLogger>? onDidChangeEnableStates,
_i2.bool? isUsageEnabled,
_i2.bool? isErrorsEnabled,
void Function(
_i2.String, [
_i2.dynamic,
])? logUsage,
void Function()? dispose,
}) =>
TelemetryLogger._(
onDidChangeEnableStates: onDidChangeEnableStates ?? _i6.undefined,
isUsageEnabled: isUsageEnabled,
isErrorsEnabled: isErrorsEnabled,
logUsage: logUsage == null ? null : _i5.allowInterop(logUsage),
dispose: dispose == null ? null : _i5.allowInterop(dispose),
);