aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Logging/Logger.cs
diff options
context:
space:
mode:
authorLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-07-12 02:55:27 -0400
committerLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-07-12 02:55:27 -0400
commitb50f78e5da6f3fdfc59e577ca61b88771da7d211 (patch)
tree644ba93dc04bb8837a19a9cd5c3dfa8c6d62a91d /MediaBrowser.Common/Logging/Logger.cs
Initial check-in
Diffstat (limited to 'MediaBrowser.Common/Logging/Logger.cs')
-rw-r--r--MediaBrowser.Common/Logging/Logger.cs38
1 files changed, 38 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Logging/Logger.cs b/MediaBrowser.Common/Logging/Logger.cs
new file mode 100644
index 000000000..5f4c2ff79
--- /dev/null
+++ b/MediaBrowser.Common/Logging/Logger.cs
@@ -0,0 +1,38 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace MediaBrowser.Common.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);
+ }
+ }
+}