Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/plugin-ext
plugin/types-impl
TelemetryLogger
Class TelemetryLogger
Index
Constructors
constructor
Properties
is
Errors
Enabled
is
Usage
Enabled
on
Did
Change
Enable
States
options?
sender
Methods
dispose
log
Error
log
Usage
Constructors
constructor
new
TelemetryLogger
(
sender
:
TelemetrySender
,
options
?:
TelemetryLoggerOptions
,
)
:
TelemetryLogger
Parameters
sender
:
TelemetrySender
Optional
options
:
TelemetryLoggerOptions
Returns
TelemetryLogger
Properties
Readonly
is
Errors
Enabled
isErrorsEnabled
:
boolean
Readonly
is
Usage
Enabled
isUsageEnabled
:
boolean
Readonly
on
Did
Change
Enable
States
onDidChangeEnableStates
:
Event
<
TelemetryLogger
>
Optional
Readonly
options
options
?:
TelemetryLoggerOptions
Readonly
sender
sender
:
TelemetrySender
Methods
dispose
dispose
()
:
void
Returns
void
log
Error
logError
(
eventNameOrError
:
string
|
Error
,
data
?:
Record
<
string
,
any
>
)
:
void
eslint-disable-next-line @typescript-eslint/no-explicit-any
Parameters
eventNameOrError
:
string
|
Error
Optional
data
:
Record
<
string
,
any
>
Returns
void
log
Usage
logUsage
(
eventName
:
string
,
data
?:
Record
<
string
,
any
>
)
:
void
eslint-disable-next-line @typescript-eslint/no-explicit-any
Parameters
eventName
:
string
Optional
data
:
Record
<
string
,
any
>
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
is
Errors
Enabled
is
Usage
Enabled
on
Did
Change
Enable
States
options
sender
Methods
dispose
log
Error
log
Usage
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...
eslint-disable-next-line @typescript-eslint/no-explicit-any