@codingame/monaco-vscode-log-service-override 12.0.1 → 13.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import type { IEditorOverrideServices } from "vscode/vscode/vs/editor/standalone/browser/standaloneServices";
2
- import { type ILogger, LogLevel, ConsoleLogger } from "vscode/vscode/vs/platform/log/common/log";
3
- import { type IDisposable } from "vscode/vscode/vs/base/common/lifecycle";
1
+ import type { IEditorOverrideServices } from "@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices";
2
+ import { type ILogger, LogLevel, ConsoleLogger } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log";
3
+ import { type IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
4
4
  declare function getServiceOverride(): IEditorOverrideServices;
5
5
  /**
6
6
  * @deprecated Provide logLevel via the services `initialize` function `configuration.developmentOptions.logLevel` parameter
package/index.js CHANGED
@@ -1,21 +1,21 @@
1
1
 
2
- import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
3
- import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
4
- import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
5
- import { getLogLevel } from 'vscode/vscode/vs/platform/log/common/log';
6
- export { ConsoleLogger } from 'vscode/vscode/vs/platform/log/common/log';
7
- import { ILoggerService, ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
2
+ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
+ import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
4
+ import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
5
+ import { getLogLevel } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log';
6
+ export { ConsoleLogger } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log';
7
+ import { ILoggerService, ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
8
8
  import { FileLoggerService } from './vscode/src/vs/platform/log/common/fileLog.js';
9
- import { LogService } from 'vscode/vscode/vs/platform/log/common/logService';
10
- import { IEnvironmentService } from 'vscode/vscode/vs/platform/environment/common/environment.service';
11
- import { windowLogId } from 'vscode/vscode/vs/workbench/services/log/common/logConstants';
12
- import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService.service';
13
- import { toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
9
+ import { LogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/logService';
10
+ import { IEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/platform/environment/common/environment.service';
11
+ import { windowLogId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/log/common/logConstants';
12
+ import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
13
+ import { toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
14
14
  import { DefaultLogLevelsService } from './vscode/src/vs/workbench/contrib/logs/common/defaultLogLevels.js';
15
- import { IDefaultLogLevelsService } from 'vscode/vscode/vs/workbench/contrib/logs/common/defaultLogLevels.service';
15
+ import { IDefaultLogLevelsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/logs/common/defaultLogLevels.service';
16
16
  import getServiceOverride$1 from '@codingame/monaco-vscode-environment-service-override';
17
- import { logsPath } from 'vscode/workbench';
18
- import { checkServicesNotInitialized } from 'vscode/lifecycle';
17
+ import { logsPath } from '@codingame/monaco-vscode-api/workbench';
18
+ import { checkServicesNotInitialized } from '@codingame/monaco-vscode-api/lifecycle';
19
19
  import { rendererLogLabel } from './override/vs/workbench/browser/web.main.js';
20
20
  import './vscode/src/vs/workbench/contrib/logs/common/logs.contribution.js';
21
21
 
@@ -1,5 +1,5 @@
1
1
 
2
- import { localize } from 'vscode/vscode/vs/nls';
2
+ import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
3
3
 
4
4
  const rendererLogLabel = ( localize(0, 'Window'));
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-log-service-override",
3
- "version": "12.0.1",
3
+ "version": "13.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - log service-override",
6
6
  "keywords": [],
@@ -15,13 +15,14 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-7b77bc98-d4d5-5442-b972-c926eb6db528-common": "12.0.1",
19
- "@codingame/monaco-vscode-abed5a84-8a82-5f84-9412-88a736235bae-common": "12.0.1",
20
- "@codingame/monaco-vscode-cea4d01f-6526-5c2f-8b09-b168fead499f-common": "12.0.1",
21
- "@codingame/monaco-vscode-environment-service-override": "12.0.1",
22
- "vscode": "npm:@codingame/monaco-vscode-api@12.0.1"
18
+ "@codingame/monaco-vscode-7b77bc98-d4d5-5442-b972-c926eb6db528-common": "13.0.0",
19
+ "@codingame/monaco-vscode-abed5a84-8a82-5f84-9412-88a736235bae-common": "13.0.0",
20
+ "@codingame/monaco-vscode-cea4d01f-6526-5c2f-8b09-b168fead499f-common": "13.0.0",
21
+ "@codingame/monaco-vscode-environment-service-override": "13.0.0"
22
+ },
23
+ "peerDependencies": {
24
+ "@codingame/monaco-vscode-api": "13.0.0"
23
25
  },
24
- "peerDependencies": {},
25
26
  "peerDependenciesMeta": {},
26
27
  "main": "index.js",
27
28
  "module": "index.js",
@@ -1,7 +1,7 @@
1
- import { URI } from "vscode/vscode/vs/base/common/uri";
2
- import { IFileService } from "vscode/vscode/vs/platform/files/common/files.service";
3
- import { AbstractLoggerService, ILogger, ILoggerOptions, LogLevel } from "vscode/vscode/vs/platform/log/common/log";
4
- import { ILoggerService } from "vscode/vscode/vs/platform/log/common/log.service";
1
+ import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
2
+ import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
3
+ import { AbstractLoggerService, ILogger, ILoggerOptions, LogLevel } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log";
4
+ import { ILoggerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
5
5
  export declare class FileLoggerService extends AbstractLoggerService implements ILoggerService {
6
6
  private readonly fileService;
7
7
  constructor(logLevel: LogLevel, logsHome: URI, fileService: IFileService);
@@ -1,12 +1,12 @@
1
1
 
2
- import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
3
- import { ThrottledDelayer } from 'vscode/vscode/vs/base/common/async';
4
- import { VSBuffer } from 'vscode/vscode/vs/base/common/buffer';
5
- import { joinPath, dirname, basename } from 'vscode/vscode/vs/base/common/resources';
6
- import { ByteSize, FileOperationResult, whenProviderRegistered } from 'vscode/vscode/vs/platform/files/common/files';
7
- import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
2
+ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
+ import { ThrottledDelayer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
4
+ import { VSBuffer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/buffer';
5
+ import { joinPath, dirname, basename } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
6
+ import { ByteSize, FileOperationResult, whenProviderRegistered } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
7
+ import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
8
8
  import { BufferLogger } from '@codingame/monaco-vscode-cea4d01f-6526-5c2f-8b09-b168fead499f-common/vscode/vs/platform/log/common/bufferLog';
9
- import { AbstractMessageLogger, LogLevel, AbstractLoggerService } from 'vscode/vscode/vs/platform/log/common/log';
9
+ import { AbstractMessageLogger, LogLevel, AbstractLoggerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log';
10
10
 
11
11
  const MAX_FILE_SIZE = 5 * ByteSize.MB;
12
12
  let FileLogger = class FileLogger extends AbstractMessageLogger {
@@ -1,11 +1,11 @@
1
- import { LogLevel } from "vscode/vscode/vs/platform/log/common/log";
2
- import { ILoggerService } from "vscode/vscode/vs/platform/log/common/log.service";
3
- import { ILogService } from "vscode/vscode/vs/platform/log/common/log.service";
4
- import { IWorkbenchEnvironmentService } from "vscode/vscode/vs/workbench/services/environment/common/environmentService.service";
5
- import { IFileService } from "vscode/vscode/vs/platform/files/common/files.service";
6
- import { IJSONEditingService } from "vscode/vscode/vs/workbench/services/configuration/common/jsonEditing.service";
7
- import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
8
- import { IDefaultLogLevelsService } from "vscode/vscode/vs/workbench/contrib/logs/common/defaultLogLevels.service";
1
+ import { LogLevel } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log";
2
+ import { ILoggerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
3
+ import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
4
+ import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service";
5
+ import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
6
+ import { IJSONEditingService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/configuration/common/jsonEditing.service";
7
+ import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
8
+ import { IDefaultLogLevelsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/logs/common/defaultLogLevels.service";
9
9
  interface ParsedArgvLogLevels {
10
10
  default?: LogLevel;
11
11
  extensions?: [
@@ -22,7 +22,7 @@ export declare class DefaultLogLevelsService extends Disposable implements IDefa
22
22
  private readonly loggerService;
23
23
  _serviceBrand: undefined;
24
24
  private _onDidChangeDefaultLogLevels;
25
- readonly onDidChangeDefaultLogLevels: import("vscode/vscode/vs/base/common/event").Event<void>;
25
+ readonly onDidChangeDefaultLogLevels: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<void>;
26
26
  constructor(environmentService: IWorkbenchEnvironmentService, fileService: IFileService, jsonEditingService: IJSONEditingService, logService: ILogService, loggerService: ILoggerService);
27
27
  getDefaultLogLevels(): Promise<DefaultLogLevels>;
28
28
  getDefaultLogLevel(extensionId?: string): Promise<LogLevel>;
@@ -1,18 +1,18 @@
1
1
 
2
- import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
3
- import { getLogLevel, LogLevelToString, parseLogLevel } from 'vscode/vscode/vs/platform/log/common/log';
4
- import { ILogService, ILoggerService } from 'vscode/vscode/vs/platform/log/common/log.service';
5
- import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService.service';
6
- import { toFileOperationResult, FileOperationResult } from 'vscode/vscode/vs/platform/files/common/files';
7
- import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
8
- import { IJSONEditingService } from 'vscode/vscode/vs/workbench/services/configuration/common/jsonEditing.service';
9
- import { isUndefined, isString } from 'vscode/vscode/vs/base/common/types';
2
+ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
+ import { getLogLevel, LogLevelToString, parseLogLevel } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log';
4
+ import { ILogService, ILoggerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
5
+ import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
6
+ import { toFileOperationResult, FileOperationResult } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
7
+ import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
8
+ import { IJSONEditingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/configuration/common/jsonEditing.service';
9
+ import { isUndefined, isString } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
10
10
  import { EXTENSION_IDENTIFIER_WITH_LOG_REGEX } from '@codingame/monaco-vscode-abed5a84-8a82-5f84-9412-88a736235bae-common/vscode/vs/platform/environment/common/environmentService';
11
- import 'vscode/vscode/vs/platform/instantiation/common/extensions';
12
- import { parse } from 'vscode/vscode/vs/base/common/json';
13
- import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
14
- import { Emitter } from 'vscode/vscode/vs/base/common/event';
15
- import 'vscode/vscode/vs/platform/instantiation/common/instantiation';
11
+ import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
12
+ import { parse } from '@codingame/monaco-vscode-api/vscode/vs/base/common/json';
13
+ import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
14
+ import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
15
+ import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
16
16
 
17
17
  let DefaultLogLevelsService = class DefaultLogLevelsService extends Disposable {
18
18
  constructor(environmentService, fileService, jsonEditingService, logService, loggerService) {
@@ -1,30 +1,30 @@
1
1
 
2
- import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
3
- import { localize2, localize } from 'vscode/vscode/vs/nls';
4
- import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
5
- import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
6
- import { registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
2
+ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
+ import { localize2, localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
4
+ import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
5
+ import { Categories } from '@codingame/monaco-vscode-api/vscode/vs/platform/action/common/actionCommonCategories';
6
+ import { registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
7
7
  import { SetLogLevelAction } from '@codingame/monaco-vscode-7b77bc98-d4d5-5442-b972-c926eb6db528-common/vscode/vs/workbench/contrib/logs/common/logsActions';
8
- import { Extensions as Extensions$1 } from 'vscode/vscode/vs/workbench/common/contributions';
9
- import { whenProviderRegistered } from 'vscode/vscode/vs/platform/files/common/files';
10
- import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
11
- import { Extensions } from 'vscode/vscode/vs/workbench/services/output/common/output';
12
- import { IOutputService } from 'vscode/vscode/vs/workbench/services/output/common/output.service';
13
- import { Disposable, DisposableMap, DisposableStore, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
14
- import { CONTEXT_LOG_LEVEL, LogLevelToString, isLogLevel } from 'vscode/vscode/vs/platform/log/common/log';
15
- import { ILogService, ILoggerService } from 'vscode/vscode/vs/platform/log/common/log.service';
16
- import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
17
- import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
18
- import { Event } from 'vscode/vscode/vs/base/common/event';
19
- import { showWindowLogActionId, windowLogId } from 'vscode/vscode/vs/workbench/services/log/common/logConstants';
20
- import { createCancelablePromise, timeout } from 'vscode/vscode/vs/base/common/async';
21
- import { isCancellationError, getErrorMessage, CancellationError } from 'vscode/vscode/vs/base/common/errors';
22
- import { IDefaultLogLevelsService } from 'vscode/vscode/vs/workbench/contrib/logs/common/defaultLogLevels.service';
23
- import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
24
- import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
25
- import { CounterSet } from 'vscode/vscode/vs/base/common/map';
26
- import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
27
- import { Schemas } from 'vscode/vscode/vs/base/common/network';
8
+ import { Extensions as Extensions$1 } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
9
+ import { whenProviderRegistered } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
10
+ import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
11
+ import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/output/common/output';
12
+ import { IOutputService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/output/common/output.service';
13
+ import { Disposable, DisposableMap, DisposableStore, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
14
+ import { CONTEXT_LOG_LEVEL, LogLevelToString, isLogLevel } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log';
15
+ import { ILogService, ILoggerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
16
+ import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
17
+ import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
18
+ import { Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
19
+ import { showWindowLogActionId, windowLogId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/log/common/logConstants';
20
+ import { createCancelablePromise, timeout } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
21
+ import { isCancellationError, getErrorMessage, CancellationError } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
22
+ import { IDefaultLogLevelsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/logs/common/defaultLogLevels.service';
23
+ import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
24
+ import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
25
+ import { CounterSet } from '@codingame/monaco-vscode-api/vscode/vs/base/common/map';
26
+ import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
27
+ import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
28
28
 
29
29
  registerAction2(class extends Action2 {
30
30
  constructor() {