From f95b6081cba084d1b067acea99c0effa2b3bf42c Mon Sep 17 00:00:00 2001
From: MW
Date: Thu, 24 May 2007 12:35:32 +0000
Subject: Renamed the new Directories. (removed the "-Source" from the end of
them)
---
Common-Source/XmlRpcCS/Logger.cs | 46 ----------------------------------------
1 file changed, 46 deletions(-)
delete mode 100644 Common-Source/XmlRpcCS/Logger.cs
(limited to 'Common-Source/XmlRpcCS/Logger.cs')
diff --git a/Common-Source/XmlRpcCS/Logger.cs b/Common-Source/XmlRpcCS/Logger.cs
deleted file mode 100644
index ebf804b..0000000
--- a/Common-Source/XmlRpcCS/Logger.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-namespace Nwc.XmlRpc
-{
- using System;
-
- /// Define levels of logging. This duplicates
- /// similar enumerations in System.Diagnostics.EventLogEntryType. The
- /// duplication was merited because .NET Compact Framework lacked the EventLogEntryType enum.
- public enum LogLevel
- {
- /// Information level, log entry for informational reasons only.
- Information,
- /// Warning level, indicates a possible problem.
- Warning,
- /// Error level, implies a significant problem.
- Error
- }
-
- ///
- ///Logging singleton with swappable output delegate.
- ///
- ///
- ///This singleton provides a centralized log. The actual WriteEntry calls are passed
- ///off to a delegate however. Having a delegate do the actual logginh allows you to
- ///implement different logging mechanism and have them take effect throughout the system.
- ///
- public class Logger
- {
- ///Delegate definition for logging.
- ///The message String to log.
- ///The LogLevel of your message.
- public delegate void LoggerDelegate(String message, LogLevel level);
- ///The LoggerDelegate that will recieve WriteEntry requests.
- static public LoggerDelegate Delegate = null;
-
- ///
- ///Method logging events are sent to.
- ///
- ///The message String to log.
- ///The LogLevel of your message.
- static public void WriteEntry(String message, LogLevel level)
- {
- if (Delegate != null)
- Delegate(message, level);
- }
- }
-}
--
cgit v1.1