AbstractEventLogger class

Definition

Abstract event logger class.

Inheritance
builtins.object
AbstractEventLogger

Methods

flush()

Flush the telemetry client.

log_event(telemetry_event)

Log event.

log_metric(telemetry_metric)

Log metric.

flush()

Flush the telemetry client.

flush()

log_event(telemetry_event)

Log event.

log_event(telemetry_event)

Parameters

telemetry_event
TelemetryObjectBase

the event to be logged

Returns

Event GUID.

Return type

str

log_metric(telemetry_metric)

Log metric.

log_metric(telemetry_metric)

Parameters

telemetry_metric
TelemetryObjectBase

the metric to be logged

Returns

Metric GUID.

Return type

str

Attributes

SAMPLE_NOTEBOOK_NAME

SAMPLE_NOTEBOOK_NAME = 'SampleNotebookName'

SESSION_ID

SESSION_ID = 'SessionId'