microsoft/vscode-react-native

Public

mirrored from https://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
0.15.0

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

src/extension/log/NullLogger.ts

13lines · modeblame

0a68f8dbArtem Egorov8 years ago1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT license. See LICENSE file in the project root for details.
3
4import { ILogger, LogLevel } from "./LogHelper";
5
6export class NullLogger implements ILogger {
7public log (message: string, level: LogLevel | undefined) {}
8public info (message: string) {}
9public warning (message: string) {}
10public error (errorMessage: string, error?: Error | undefined, stack?: boolean | undefined) {}
11public debug (message: string) {}
12public logStream (data: String | Buffer, stream?: NodeJS.WritableStream | undefined) {}
13}