aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Logging/NullLogger.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/Logging/NullLogger.cs')
-rw-r--r--MediaBrowser.Model/Logging/NullLogger.cs44
1 files changed, 44 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Logging/NullLogger.cs b/MediaBrowser.Model/Logging/NullLogger.cs
new file mode 100644
index 000000000..d211d2567
--- /dev/null
+++ b/MediaBrowser.Model/Logging/NullLogger.cs
@@ -0,0 +1,44 @@
+using System;
+using System.Text;
+
+namespace MediaBrowser.Model.Logging
+{
+ public class NullLogger : ILogger
+ {
+ public void Info(string message, params object[] paramList)
+ {
+ }
+
+ public void Error(string message, params object[] paramList)
+ {
+ }
+
+ public void Warn(string message, params object[] paramList)
+ {
+ }
+
+ public void Debug(string message, params object[] paramList)
+ {
+ }
+
+ public void Fatal(string message, params object[] paramList)
+ {
+ }
+
+ public void FatalException(string message, Exception exception, params object[] paramList)
+ {
+ }
+
+ public void Log(LogSeverity severity, string message, params object[] paramList)
+ {
+ }
+
+ public void ErrorException(string message, Exception exception, params object[] paramList)
+ {
+ }
+
+ public void LogMultiline(string message, LogSeverity severity, StringBuilder additionalContent)
+ {
+ }
+ }
+}