mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 22:18:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
18
Brutal.Logging/DefaultCategory.cs
Normal file
18
Brutal.Logging/DefaultCategory.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
namespace Brutal.Logging;
|
||||
|
||||
/// <summary>
|
||||
/// A default log category to use when no other is specified
|
||||
/// </summary>
|
||||
/// <example>
|
||||
/// The following code demonstrates how to import the default logger globally:
|
||||
/// <code>
|
||||
/// global using static Brutal.Logging.DefaultCategory;
|
||||
/// </code>
|
||||
/// </example>
|
||||
public static class DefaultCategory
|
||||
{
|
||||
/// <summary>
|
||||
/// A default log category
|
||||
/// </summary>
|
||||
public static readonly LogCategory Log = LogCategory.Make("Default");
|
||||
}
|
||||
Loading…
Reference in a new issue