34 lines
637 B
C#
34 lines
637 B
C#
namespace Logging
|
|
{
|
|
public class NullLog : BaseLog
|
|
{
|
|
public NullLog() : base(false)
|
|
{
|
|
}
|
|
|
|
public string FullFilename { get; set; } = "NULL";
|
|
|
|
protected override string GetFullName()
|
|
{
|
|
return FullFilename;
|
|
}
|
|
|
|
public override void Log(string message)
|
|
{
|
|
}
|
|
|
|
public override void Error(string message)
|
|
{
|
|
Console.WriteLine("Error: " + message);
|
|
}
|
|
|
|
public override void AddStringReplace(string from, string to)
|
|
{
|
|
}
|
|
|
|
public override void Delete()
|
|
{
|
|
}
|
|
}
|
|
}
|