aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Logging/Logger.cs
diff options
context:
space:
mode:
authorLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-07-30 09:44:28 -0400
committerLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-07-30 09:44:28 -0400
commit77669562743d725273ecd52677a6521aa0db7949 (patch)
tree573f7e5550098748ec1ed1d95968d3e4fb882db4 /MediaBrowser.Logging/Logger.cs
parent882e20e9a5b05324ee75bb08ac09caec0034a9b4 (diff)
Extracted Logging into a separate, portable class library
Diffstat (limited to 'MediaBrowser.Logging/Logger.cs')
-rw-r--r--MediaBrowser.Logging/Logger.cs34
1 files changed, 34 insertions, 0 deletions
diff --git a/MediaBrowser.Logging/Logger.cs b/MediaBrowser.Logging/Logger.cs
new file mode 100644
index 000000000..db46010a4
--- /dev/null
+++ b/MediaBrowser.Logging/Logger.cs
@@ -0,0 +1,34 @@
+using System;
+
+namespace MediaBrowser.Logging
+{
+ public static class Logger
+ {
+ public static BaseLogger LoggerInstance { get; set; }
+
+ public static void LogInfo(string message, params object[] paramList)
+ {
+ LoggerInstance.LogInfo(message, paramList);
+ }
+
+ public static void LogDebugInfo(string message, params object[] paramList)
+ {
+ LoggerInstance.LogDebugInfo(message, paramList);
+ }
+
+ public static void LogError(string message, params object[] paramList)
+ {
+ LoggerInstance.LogError(message, paramList);
+ }
+
+ public static void LogException(string message, Exception ex, params object[] paramList)
+ {
+ LoggerInstance.LogException(message, ex, paramList);
+ }
+
+ public static void LogWarning(string message, params object[] paramList)
+ {
+ LoggerInstance.LogWarning(message, paramList);
+ }
+ }
+}