1
1
using System ;
2
2
using System . Collections . Generic ;
3
- using System . Diagnostics ;
4
3
using System . Linq ;
5
4
using System . Text ;
6
5
using System . Threading . Tasks ;
@@ -9,36 +8,38 @@ namespace Turbocharged.Beanstalk
9
8
{
10
9
static class Trace
11
10
{
12
- readonly static TraceSource source = new TraceSource ( "Turbocharged.Beanstalk" ) ;
11
+ // Commented out until I find a suitable replacement in .NET Standard
12
+
13
+ // readonly static TraceSource source = new TraceSource("Turbocharged.Beanstalk");
13
14
14
15
public static void Info ( string message )
15
16
{
16
- source . TraceInformation ( message ) ;
17
+ // source.TraceInformation(message);
17
18
}
18
19
19
20
public static void Info ( string format , params object [ ] args )
20
21
{
21
- source . TraceInformation ( format , args ) ;
22
+ // source.TraceInformation(format, args);
22
23
}
23
24
24
25
public static void Error ( string message )
25
26
{
26
- source . TraceEvent ( TraceEventType . Error , 0 , message ) ;
27
+ // source.TraceEvent(TraceEventType.Error, 0, message);
27
28
}
28
29
29
30
public static void Error ( string format , params object [ ] args )
30
31
{
31
- source . TraceEvent ( TraceEventType . Error , 0 , format , args ) ;
32
+ // source.TraceEvent(TraceEventType.Error, 0, format, args);
32
33
}
33
34
34
35
public static void Verbose ( string message )
35
36
{
36
- source . TraceEvent ( TraceEventType . Verbose , 0 , message ) ;
37
+ // source.TraceEvent(TraceEventType.Verbose, 0, message);
37
38
}
38
39
39
40
public static void Verbose ( string format , params object [ ] args )
40
41
{
41
- source . TraceEvent ( TraceEventType . Verbose , 0 , format , args ) ;
42
+ // source.TraceEvent(TraceEventType.Verbose, 0, format, args);
42
43
}
43
44
}
44
45
}
0 commit comments