Skip to content

Commit f669fc1

Browse files
author
cindy-peng
committed
export logseverity type from proto type
1 parent dc3e4da commit f669fc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const version = require('../../package.json').version;
4040
// eslint-disable-next-line @typescript-eslint/no-var-requires
4141
const v2 = require('./v2');
4242

43-
import {Entry, LogEntry, LogSeverity} from './entry';
43+
import {Entry, LogEntry} from './entry';
4444
import {
4545
MonitoredResource,
4646
Severity,
@@ -1522,7 +1522,7 @@ export {Log};
15221522
*/
15231523
export {Severity};
15241524
export {SeverityNames};
1525-
export {LogSeverity};
1525+
export type LogSeverity = google.logging.type.LogSeverity;
15261526

15271527
export {assignSeverityToEntries};
15281528
export {formatLogName};

0 commit comments

Comments
 (0)