This commit is contained in:
12
BotPages.Core/Logging/WithoutLogger.cs
Normal file
12
BotPages.Core/Logging/WithoutLogger.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace BotPages.Core.Logging;
|
||||
|
||||
/// <summary>
|
||||
/// Отключение логирования
|
||||
/// </summary>
|
||||
public sealed class WithoutLogger : ILogger
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public void Log(LogLevel level, string message, Exception? ex = null)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user