aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/StubsUtils/Tango.StubsUtils.Service/StubsServiceProcedureLogger.cs
blob: 7b3f34a0440d4d6edfaf254aee396429c2f8cb69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.FSE.Procedures;

namespace Tango.StubsUtils.Service
{
    public class StubsServiceProcedureLogger : IProcedureLogger
    {
        private Action<String> _writeLineCallback;

        public StubsServiceProcedureLogger(Action<String> writeLineCallback)
        {
            _writeLineCallback = writeLineCallback;
        }

        public void WriteLine(string text)
        {
            _writeLineCallback(text);
        }

        public void Write(string text)
        {
            throw new NotImplementedException();
        }

        public void Clear()
        {
            throw new NotImplementedException();
        }
    }
}