forked from Taritsyn/JavaScriptEngineSwitcher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNullLogger.cs
More file actions
26 lines (22 loc) · 660 Bytes
/
NullLogger.cs
File metadata and controls
26 lines (22 loc) · 660 Bytes
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
namespace JavaScriptEngineSwitcher.Tests.Interop.Logging
{
public sealed class NullLogger : ILogger
{
public void Error(string category, string message,
string filePath = "", int lineNumber = 0, int columnNumber = 0,
string sourceFragment = "")
{ }
public void Warn(string category, string message,
string filePath = "", int lineNumber = 0, int columnNumber = 0,
string sourceFragment = "")
{ }
public void Debug(string category, string message, string filePath = "")
{ }
public void Info(string category, string message, string filePath = "")
{ }
public override string ToString()
{
return "[null logger]";
}
}
}