mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-04 22:43:07 +00:00
30 lines
585 B
C#
30 lines
585 B
C#
namespace Logging
|
|
{
|
|
public class NullLog : BaseLog
|
|
{
|
|
public override string GetFullName()
|
|
{
|
|
return "NULL";
|
|
}
|
|
|
|
public override void Log(string message)
|
|
{
|
|
if (IsDebug) base.Log(message);
|
|
}
|
|
|
|
public override void Error(string message)
|
|
{
|
|
Console.WriteLine("Error: " + message);
|
|
base.Error(message);
|
|
}
|
|
|
|
public override void AddStringReplace(string from, string to)
|
|
{
|
|
}
|
|
|
|
public override void Delete()
|
|
{
|
|
}
|
|
}
|
|
}
|