From 8d38b7ba6641086a533f73122e01124980e6581d Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Mon, 1 Apr 2019 05:00:30 -0400 Subject: [PATCH] Adds more logging --- src/annotations/lineAnnotationController.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/annotations/lineAnnotationController.ts b/src/annotations/lineAnnotationController.ts index 4c1ce3c..bbfdcca 100644 --- a/src/annotations/lineAnnotationController.ts +++ b/src/annotations/lineAnnotationController.ts @@ -15,6 +15,7 @@ import { isTextEditor } from '../constants'; import { Container } from '../container'; import { LinesChangeEvent } from '../trackers/gitLineTracker'; import { Annotations } from './annotations'; +import { log } from '../system'; const annotationDecoration: TextEditorDecorationType = window.createTextEditorDecorationType({ after: { @@ -70,6 +71,7 @@ export class LineAnnotationController implements Disposable { return !this._enabled || this._suspended !== undefined; } + @log() resume(reason: 'debugging' | 'user' = 'user') { this.setLineTracker(true); @@ -92,6 +94,7 @@ export class LineAnnotationController implements Disposable { return false; } + @log() suspend(reason: 'debugging' | 'user' = 'user') { this.setLineTracker(false);