Revert "Use EnumWindows instead of FindWindow"

This reverts commit fa24ae3022.
This commit is contained in:
Yaakov 2020-05-21 17:52:07 +10:00
parent fa24ae3022
commit 1d1f92c608
3 changed files with 15 additions and 70 deletions

View file

@ -18,15 +18,9 @@ namespace Notepad.Extensions.Logging.FunctionalTest
var sp = sc.BuildServiceProvider();
var logger = sp.GetRequiredService<ILogger<Program>>();
//logger.LogWarning("Here is a warning.");
//logger.LogError(GetException(), "oh no!.");
//logger.LogInformation("Here is some info.");
//logger.LogInformation("here, have a nice 😋 emoji.");
logger.LogInformation(@"💧 Paul
@paws101
Replying to
@yaakov_h
But does it handle emoji injection?.");
logger.LogWarning("Here is a warning.");
logger.LogError(GetException(), "oh no!.");
logger.LogInformation("Here is some info.");
}
static Exception GetException()