PageRenderTime 14ms CodeModel.GetById 11ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Main/src/DynamicDataDisplay.Maps/MapsTraceSource.cs

#
C# | 28 lines | 25 code | 3 blank | 0 comment | 0 complexity | 1c15e727e9a42a8387433cdcf50bcc5f MD5 | raw file
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using System.Text;
 5using System.Diagnostics;
 6using System.Diagnostics.Eventing;
 7
 8namespace Microsoft.Research.DynamicDataDisplay.Maps
 9{
10	public sealed class MapsTraceSource
11	{
12		private MapsTraceSource()
13		{
14		}
15
16		private static readonly MapsTraceSource instance = new MapsTraceSource();
17		public static MapsTraceSource Instance
18		{
19			get { return instance; }
20		}
21
22		private readonly TraceSource serverInformationTraceSource = new TraceSource("D3.Maps.Server", SourceLevels.Information);
23		public TraceSource ServerInformationTraceSource
24		{
25			get { return serverInformationTraceSource; }
26		}
27	}
28}