diff options
Diffstat (limited to 'MediaBrowser.Common/Logging')
| -rw-r--r-- | MediaBrowser.Common/Logging/ThreadedLogger.cs | 2 | ||||
| -rw-r--r-- | MediaBrowser.Common/Logging/TraceLogger.cs | 12 |
2 files changed, 12 insertions, 2 deletions
diff --git a/MediaBrowser.Common/Logging/ThreadedLogger.cs b/MediaBrowser.Common/Logging/ThreadedLogger.cs index 8713ac224..f53b3d426 100644 --- a/MediaBrowser.Common/Logging/ThreadedLogger.cs +++ b/MediaBrowser.Common/Logging/ThreadedLogger.cs @@ -1,7 +1,5 @@ using System;
using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Threading;
namespace MediaBrowser.Common.Logging
diff --git a/MediaBrowser.Common/Logging/TraceLogger.cs b/MediaBrowser.Common/Logging/TraceLogger.cs new file mode 100644 index 000000000..d152f9780 --- /dev/null +++ b/MediaBrowser.Common/Logging/TraceLogger.cs @@ -0,0 +1,12 @@ +using System.Diagnostics;
+
+namespace MediaBrowser.Common.Logging
+{
+ public class TraceLogger : BaseLogger
+ {
+ protected override void LogEntry(LogRow row)
+ {
+ Trace.WriteLine(row.ToString());
+ }
+ }
+}
|
