application insights python logger code example
Example: python application insights azure
pip install applicationinsights
from applicationinsights import TelemetryClient
tc = TelemetryClient('<YOUR INSTRUMENTATION KEY GOES HERE>')
tc.track_event("Test event")
tc.flush()