From ba4d5453a23ca7185142d628785b758aa1aefdfc Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Wed, 10 Nov 2021 12:05:29 +0530 Subject: [PATCH] Move type LogCallback to LogItem --- src/logging/BaseLogger.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/logging/BaseLogger.ts b/src/logging/BaseLogger.ts index 27dd4983..c47329c2 100644 --- a/src/logging/BaseLogger.ts +++ b/src/logging/BaseLogger.ts @@ -15,11 +15,10 @@ See the License for the specific language governing permissions and limitations under the License. */ -import {LogItem, LabelOrValues, FilterCreator} from "./LogItem"; +import {LogItem, LabelOrValues, FilterCreator, LogCallback} from "./LogItem"; import {LogLevel, LogFilter} from "./LogFilter.js"; import {Platform} from "../platform/web/Platform.js"; -type LogCallback = (item: LogItem) => Promise | undefined; export abstract class BaseLogger { protected _openItems: Set = new Set();