aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Logging
diff options
context:
space:
mode:
authorLukePulverenti <luke.pulverenti@gmail.com>2013-02-26 12:21:18 -0500
committerLukePulverenti <luke.pulverenti@gmail.com>2013-02-26 12:21:18 -0500
commit0f1ec5b586161362b1e79f8100d427f06ab1a8a5 (patch)
tree16826fd1eab59886d2868e71c8ebab13c4326e5b /MediaBrowser.Model/Logging
parentcbb2f00da5a6a45610c517392dae7067a620dba2 (diff)
fix log window setting
Diffstat (limited to 'MediaBrowser.Model/Logging')
-rw-r--r--MediaBrowser.Model/Logging/ILogManager.cs33
1 files changed, 33 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Logging/ILogManager.cs b/MediaBrowser.Model/Logging/ILogManager.cs
new file mode 100644
index 0000000000..1d6db2bd83
--- /dev/null
+++ b/MediaBrowser.Model/Logging/ILogManager.cs
@@ -0,0 +1,33 @@
+using System;
+
+namespace MediaBrowser.Model.Logging
+{
+ /// <summary>
+ /// Interface ILogManager
+ /// </summary>
+ public interface ILogManager
+ {
+ /// <summary>
+ /// Gets the logger.
+ /// </summary>
+ /// <param name="name">The name.</param>
+ /// <returns>ILogger.</returns>
+ ILogger GetLogger(string name);
+
+ /// <summary>
+ /// Reloads the logger.
+ /// </summary>
+ void ReloadLogger(LogSeverity severity);
+
+ /// <summary>
+ /// Gets the log file path.
+ /// </summary>
+ /// <value>The log file path.</value>
+ string LogFilePath { get; }
+
+ /// <summary>
+ /// Occurs when [logger loaded].
+ /// </summary>
+ event EventHandler LoggerLoaded;
+ }
+}