Merge pull request #2136 from esdrubal/uridotsegment
[mono.git] / mcs / class / System / ReferenceSources / Logging.cs
1 #if !MONO_FEATURE_NEW_TLS
2 using System.Diagnostics;
3
4 namespace System.Net {
5         class Logging {
6                 internal static bool On {
7                         get {
8                                 return false;
9                         }
10                 }
11
12                 internal static TraceSource Web {
13                         get {
14                                 return null;
15                         }
16                 }
17
18                 internal static TraceSource HttpListener {
19                         get {
20                                 return null;
21                         }
22                 }
23
24                 [Conditional ("TRACE")]
25                 internal static void Enter(TraceSource traceSource, object obj, string method, object paramObject) {
26                 }
27
28                 [Conditional ("TRACE")]
29                 internal static void Exit(TraceSource traceSource, object obj, string method, object retObject) {
30                 }
31
32                 internal static void PrintWarning(TraceSource traceSource, object obj, string method, string msg) {
33                 }
34         }
35
36 #if MOBILE
37
38         class TraceSource
39         {
40                 
41         }
42
43 #endif
44 }
45 #endif