mirror of
https://github.com/yaakov-h/Notepad.Extensions.Logging.git
synced 2025-04-19 02:35:12 +00:00
Revert "Use EnumWindows instead of FindWindow"
This reverts commit fa24ae3022
.
This commit is contained in:
parent
fa24ae3022
commit
1d1f92c608
3 changed files with 15 additions and 70 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue