private async Task BackToLogsViewerAsync()
        {
            LogsViewerToolWindow window =
                await ToolWindowCommandUtils.ShowToolWindowAsync <LogsViewerToolWindow>(Log.ParentToolWindowId);

            if (Log.Entry == null || window == null)
            {
                Debug.WriteLine("Entry or window is null, this is likely a code bug");
                return;
            }
            if (FilterLogsOfSourceLine)
            {
                window.FilterOnSourceLocation(Log);
            }
        }
Example #2
0
 public void BeforeEach()
 {
     _frameMock       = VsWindowFrameMocks.GetWindowFrameMock(MockBehavior.Loose);
     _objectUnderTest = new LogsViewerToolWindow();
 }
Example #3
0
        private async Task OnBrowseStackdriverLogCommandAsync()
        {
            LogsViewerToolWindow window = await ToolWindowCommandUtils.AddToolWindowAsync <LogsViewerToolWindow>();

            window?.FilterGAEServiceLog(Service.Id);
        }
Example #4
0
        private async Task OnBrowseStackdriverLogCommandAsync()
        {
            LogsViewerToolWindow window = await ToolWindowCommandUtils.AddToolWindowAsync <LogsViewerToolWindow>();

            window?.FilterVMInstanceLog(Instance.Id.ToString());
        }