Skip to content

Commit

Permalink
feat: export LogSeverity for type enforcement
Browse files Browse the repository at this point in the history
  • Loading branch information
cindy-peng committed Jan 22, 2024
1 parent 1f94504 commit dc3e4da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const version = require('../../package.json').version;
// eslint-disable-next-line @typescript-eslint/no-var-requires
const v2 = require('./v2');

import {Entry, LogEntry} from './entry';
import {Entry, LogEntry, LogSeverity} from './entry';
import {
MonitoredResource,
Severity,
Expand Down Expand Up @@ -1522,6 +1522,7 @@ export {Log};
*/
export {Severity};
export {SeverityNames};
export {LogSeverity};

export {assignSeverityToEntries};
export {formatLogName};
Expand Down

0 comments on commit dc3e4da

Please sign in to comment.