forked from ServiceStack/ServiceStack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNullDebugLogger.cs
More file actions
109 lines (88 loc) · 2.08 KB
/
NullDebugLogger.cs
File metadata and controls
109 lines (88 loc) · 2.08 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
using System;
namespace ServiceStack.Logging
{
/// <summary>
/// Default logger is to System.Diagnostics.Debug.Print
///
/// Made public so its testable
/// </summary>
public class NullDebugLogger : ILog
{
/// <summary>
/// Initializes a new instance of the <see cref="DebugLogger"/> class.
/// </summary>
public NullDebugLogger(string type)
{
}
/// <summary>
/// Initializes a new instance of the <see cref="DebugLogger"/> class.
/// </summary>
public NullDebugLogger(Type type)
{
}
/// <summary>
/// Logs the specified message.
/// </summary>
private static void Log(object message, Exception exception)
{
}
/// <summary>
/// Logs the format.
/// </summary>
private static void LogFormat(object message, params object[] args)
{
}
/// <summary>
/// Logs the specified message.
/// </summary>
private static void Log(object message)
{
}
public void Debug(object message, Exception exception)
{
}
public bool IsDebugEnabled { get; set; }
public void Debug(object message)
{
}
public void DebugFormat(string format, params object[] args)
{
}
public void Error(object message, Exception exception)
{
}
public void Error(object message)
{
}
public void ErrorFormat(string format, params object[] args)
{
}
public void Fatal(object message, Exception exception)
{
}
public void Fatal(object message)
{
}
public void FatalFormat(string format, params object[] args)
{
}
public void Info(object message, Exception exception)
{
}
public void Info(object message)
{
}
public void InfoFormat(string format, params object[] args)
{
}
public void Warn(object message, Exception exception)
{
}
public void Warn(object message)
{
}
public void WarnFormat(string format, params object[] args)
{
}
}
}