Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/workbench/contrib/notebook/common/notebookLoggingService.ts
3296 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
import { createDecorator } from '../../../../platform/instantiation/common/instantiation.js';
7
8
export const INotebookLoggingService = createDecorator<INotebookLoggingService>('INotebookLoggingService');
9
10
export interface INotebookLoggingService {
11
readonly _serviceBrand: undefined;
12
info(category: string, output: string): void;
13
warn(category: string, output: string): void;
14
error(category: string, output: string): void;
15
debug(category: string, output: string): void;
16
}
17
18