mirror of
https://github.com/digital-jellyfish/Virtu.git
synced 2024-06-12 16:29:38 +00:00
365e5723c1
--HG-- extra : convert_revision : svn%3Affd33b8c-2492-42e0-bdc5-587b920b7d6d/trunk%4050811
24 lines
522 B
C#
24 lines
522 B
C#
using System;
|
|
using System.Diagnostics;
|
|
|
|
namespace Jellyfish.Virtu.Services
|
|
{
|
|
public class DebugService : MachineService
|
|
{
|
|
public DebugService(Machine machine) :
|
|
base(machine)
|
|
{
|
|
}
|
|
|
|
public void WriteLine(string message)
|
|
{
|
|
OnWriteLine(string.Concat(DateTime.Now.TimeOfDay, ' ', message));
|
|
}
|
|
|
|
protected virtual void OnWriteLine(string message)
|
|
{
|
|
Debug.WriteLine(message);
|
|
}
|
|
}
|
|
}
|