microsoft / ApplicationInsights-node.js

Microsoft Application Insights SDK for Node.js
MIT License
321 stars 138 forks source link

Severitylevel does not work #1335

Closed rassiju06 closed 4 weeks ago

rassiju06 commented 1 month ago

this doesnt work anymore, how do you pull severitylevel? thanks.

import { SeverityLevel } from 'applicationinsights/out/Declarations/Contracts/Generated/SeverityLevel';

JacksonWeber commented 1 month ago

@rassiju06 Looks like the SeverityLevel type is available under applicationinsights/out/declarations/generated/models now, however the type is the same as KnownSeverityLevel which is more easily accessed as import { KnownSeverityLevel } from 'applicationinsights';

rassiju06 commented 4 weeks ago

@rassiju06 Looks like the SeverityLevel type is available under applicationinsights/out/declarations/generated/models now, however the type is the same as KnownSeverityLevel which is more easily accessed as import { KnownSeverityLevel } from 'applicationinsights';

thanks