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