Skip to content

Commit

Permalink
Add clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisDyallo committed Aug 12, 2024
1 parent 7a4a3e9 commit 7c6e033
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Yubico.Core/src/Yubico/Core/Logging/Log.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,15 @@ namespace Yubico.Core.Logging
/// After configuring the logger, you can create log instances and log messages as follows:
/// <example>
/// <code language="csharp">
/// namespace Yubico;
/// public class ExampleClass
/// {
/// public ExampleClass()
/// {
/// // Logger with the class name as the category
/// ILogger typeNamedLogger = Log.GetLogger&lt;ExampleClass&gt;();
/// typeNamedLogger.LogInformation("Hello World");
/// // Output: ExampleClass: Hello World
/// // Output: Yubico.ExampleClass: Hello World
///
/// // Logger with a custom category name
/// ILogger categoryLogger = Log.GetLogger("SmartCard");
Expand Down

0 comments on commit 7c6e033

Please sign in to comment.