Skip to content

Commit

Permalink
Added docs to clear providers
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisDyallo committed Aug 12, 2024
1 parent 5d69fec commit e26bb67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Yubico.Core/src/Yubico/Core/Logging/Log.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ namespace Yubico.Core.Logging
/// Configure the logger dynamically in your code:
/// <example>
/// <code language="csharp">
///
/// // Optionally, clear previous loggers
/// Log.ConfigureLoggerFactory(builder => builder.ClearProviders());
///
/// // Add a console logger (added by default)
/// Log.ConfigureLoggerFactory(builder => builder.AddConsole());
///
Expand Down

0 comments on commit e26bb67

Please sign in to comment.