11using System ;
22using System . Collections . Generic ;
3- using System . Diagnostics ;
43using System . Linq ;
54using System . Text ;
65using System . Threading . Tasks ;
@@ -9,36 +8,38 @@ namespace Turbocharged.Beanstalk
98{
109 static class Trace
1110 {
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");
1314
1415 public static void Info ( string message )
1516 {
16- source . TraceInformation ( message ) ;
17+ // source.TraceInformation(message);
1718 }
1819
1920 public static void Info ( string format , params object [ ] args )
2021 {
21- source . TraceInformation ( format , args ) ;
22+ // source.TraceInformation(format, args);
2223 }
2324
2425 public static void Error ( string message )
2526 {
26- source . TraceEvent ( TraceEventType . Error , 0 , message ) ;
27+ // source.TraceEvent(TraceEventType.Error, 0, message);
2728 }
2829
2930 public static void Error ( string format , params object [ ] args )
3031 {
31- source . TraceEvent ( TraceEventType . Error , 0 , format , args ) ;
32+ // source.TraceEvent(TraceEventType.Error, 0, format, args);
3233 }
3334
3435 public static void Verbose ( string message )
3536 {
36- source . TraceEvent ( TraceEventType . Verbose , 0 , message ) ;
37+ // source.TraceEvent(TraceEventType.Verbose, 0, message);
3738 }
3839
3940 public static void Verbose ( string format , params object [ ] args )
4041 {
41- source . TraceEvent ( TraceEventType . Verbose , 0 , format , args ) ;
42+ // source.TraceEvent(TraceEventType.Verbose, 0, format, args);
4243 }
4344 }
4445}
0 commit comments