logdna / logger-node

A nodejs logger client for LogDNA
MIT License
34 stars 17 forks source link

fix(pkg): Export `LogLevel` to satisfy typescript defs #91

Closed darinspivey closed 4 weeks ago

darinspivey commented 4 weeks ago

Even though this project isn't ESM or typescript, we support a definitions file for it. In it, we define LogLevel as an enum, but it's not officially exported as such. This commit fixes the typescript definition to export that enum, as well as export it from the CommonJS entrypoint.

Fixes: #47

logdnabot commented 4 weeks ago

:tada: This PR is included in version 2.6.11 :tada:

The release is available on:

Your semantic-release bot :package::rocket: