Add OE verbose logging (#1484)

* Add OE verbose logging

* verbose
This commit is contained in:
Charles Gagnon
2022-05-06 22:47:42 -07:00
committed by GitHub
parent 24910c5b5c
commit 048988e5d3
6 changed files with 322 additions and 75 deletions

View File

@@ -343,7 +343,9 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectExplorer.Nodes
cancellationToken.ThrowIfCancellationRequested();
try
{
Logger.Verbose($"Begin populate children for {this.GetNodePath()} using {factory.GetType()} factory");
IEnumerable<TreeNode> items = factory.Expand(this, refresh, name, includeSystemObjects, cancellationToken);
Logger.Verbose($"End populate children for {this.GetNodePath()} using {factory.GetType()} factory");
if (items != null)
{
foreach (TreeNode item in items)