Skip to content

Commit

Permalink
Revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisDyallo committed Aug 13, 2024
1 parent 6187109 commit e116b2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void SwitchingBetweenTransports_ForcesThreeSecondWait()
// Force the old behavior even for newer YubiKeys.
AppContext.SetSwitch(YubiKeyCompatSwitches.UseOldReclaimTimeoutBehavior, true);

Logger log = new LoggerConfiguration()
using Logger? log = new LoggerConfiguration()
.Enrich.With(new ThreadIdEnricher())
.WriteTo.Console(
outputTemplate: "{Timestamp:HH:mm:ss.fffffff} [{Level}] ({ThreadId}) {Message}{NewLine}{Exception}")
Expand Down
2 changes: 1 addition & 1 deletion Yubico.YubiKey/tests/sandbox/Plugins/EventManagerPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public EventManagerPlugin(IOutput output) : base(output) { }

public override bool Execute()
{
Logger log = new LoggerConfiguration()
using Logger? log = new LoggerConfiguration()
.Enrich.With(new ThreadIdEnricher())
.WriteTo.Console(
outputTemplate: "[{Level}] ({ThreadId}) {Message}{NewLine}{Exception}")
Expand Down

0 comments on commit e116b2e

Please sign in to comment.