2023-06-26 15:37:16 +02:00
|
|
|
|
namespace Logging
|
2023-06-22 10:17:12 +02:00
|
|
|
|
{
|
2023-09-20 10:51:47 +02:00
|
|
|
|
public class NullLog : BaseLog
|
2023-06-22 10:17:12 +02:00
|
|
|
|
{
|
2023-09-01 09:28:04 +02:00
|
|
|
|
public string FullFilename { get; set; } = "NULL";
|
|
|
|
|
|
2023-06-28 15:11:20 +02:00
|
|
|
|
protected override string GetFullName()
|
2023-06-22 10:17:12 +02:00
|
|
|
|
{
|
2023-09-01 09:28:04 +02:00
|
|
|
|
return FullFilename;
|
2023-06-22 10:17:12 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void Log(string message)
|
|
|
|
|
{
|
2023-11-08 09:24:39 +01:00
|
|
|
|
if (IsDebug) base.Log(message);
|
2023-06-22 10:17:12 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void Error(string message)
|
|
|
|
|
{
|
2023-11-08 09:24:39 +01:00
|
|
|
|
base.Error(message);
|
2023-06-22 10:17:12 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void AddStringReplace(string from, string to)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void Delete()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|