From f669fc133343861c737b5f9e5ad90e10e934170a Mon Sep 17 00:00:00 2001 From: cindy-peng Date: Tue, 23 Jan 2024 17:39:14 -0800 Subject: [PATCH] export logseverity type from proto type --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index af30f7e6..79600d21 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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, LogSeverity} from './entry'; +import {Entry, LogEntry} from './entry'; import { MonitoredResource, Severity, @@ -1522,7 +1522,7 @@ export {Log}; */ export {Severity}; export {SeverityNames}; -export {LogSeverity}; +export type LogSeverity = google.logging.type.LogSeverity; export {assignSeverityToEntries}; export {formatLogName};