2022-04-11 18:00:34 +05:00
|
|
|
|
using System.Diagnostics;
|
2021-11-22 14:04:05 +05:00
|
|
|
|
|
|
|
|
|
namespace AsbCloudWebApi
|
|
|
|
|
{
|
|
|
|
|
public class TraceListenerView : TraceListener
|
|
|
|
|
{
|
|
|
|
|
public TraceListenerView()
|
|
|
|
|
{
|
|
|
|
|
Trace.Listeners.Add(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void Write(object o)
|
|
|
|
|
{
|
|
|
|
|
base.Write(o);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void Write(string message)
|
|
|
|
|
{
|
|
|
|
|
//throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void WriteLine(string message)
|
|
|
|
|
{
|
|
|
|
|
//throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|