Skip to content

Commit

Permalink
Merge pull request microsoft#41927 from TypeFox/ak/monaco_bind_log_se…
Browse files Browse the repository at this point in the history
…rvice

[monaco] bind ILogService to NullLogService by default
  • Loading branch information
alexdima authored Jan 23, 2018
2 parents 1cacde3 + 7bbf60b commit 84991c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vs/editor/standalone/browser/standaloneServices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import { ContextKeyService } from 'vs/platform/contextkey/browser/contextKeyServ
import { IMenuService } from 'vs/platform/actions/common/actions';
import { IStandaloneThemeService } from 'vs/editor/standalone/common/standaloneThemeService';
import { StandaloneThemeServiceImpl } from 'vs/editor/standalone/browser/standaloneThemeServiceImpl';
import { ILogService, NullLogService } from 'vs/platform/log/common/log';

export interface IEditorContextViewService extends IContextViewService {
dispose(): void;
Expand Down Expand Up @@ -142,6 +143,8 @@ export module StaticServices {

export const storageService = define(IStorageService, () => NullStorageService);

export const logService = define(ILogService, () => new NullLogService());

}

export class DynamicStandaloneServices extends Disposable {
Expand Down

0 comments on commit 84991c4

Please sign in to comment.