From f3828ea6885be4b1a6816d52d6d858dc8def5296 Mon Sep 17 00:00:00 2001 From: Furkan VAROL Date: Tue, 10 Mar 2015 23:07:20 +0200 Subject: [PATCH 1/9] Logger interfaces has been implemented also Diagnostics loggers have been implemented (no unit test yet) --- AltBeacon.Library/AltBeacon.Library.csproj | 10 + .../Logging/BaseDiagnosticsLogger.cs | 348 ++++++++++++++++++ .../src/AltBeacon/Logging/EmptyLogger.cs | 286 ++++++++++++++ .../AltBeacon/Logging/EmptyLoggerFactory.cs | 45 +++ .../src/AltBeacon/Logging/ILogger.cs | 251 +++++++++++++ .../src/AltBeacon/Logging/ILoggerFactory.cs | 43 +++ .../src/AltBeacon/Logging/LogManager.cs | 128 +++++++ .../Logging/VerboseDiagnosticsLogger.cs | 308 ++++++++++++++++ .../VerboseDiagnosticsLoggerFactory.cs | 46 +++ .../Logging/WarningDiagnosticsLogger.cs | 284 ++++++++++++++ .../WarningDiagnosticsLoggerFactory.cs | 46 +++ 11 files changed, 1795 insertions(+) create mode 100644 AltBeacon.Library/src/AltBeacon/Logging/BaseDiagnosticsLogger.cs create mode 100644 AltBeacon.Library/src/AltBeacon/Logging/EmptyLogger.cs create mode 100644 AltBeacon.Library/src/AltBeacon/Logging/EmptyLoggerFactory.cs create mode 100644 AltBeacon.Library/src/AltBeacon/Logging/ILogger.cs create mode 100644 AltBeacon.Library/src/AltBeacon/Logging/ILoggerFactory.cs create mode 100644 AltBeacon.Library/src/AltBeacon/Logging/LogManager.cs create mode 100644 AltBeacon.Library/src/AltBeacon/Logging/VerboseDiagnosticsLogger.cs create mode 100644 AltBeacon.Library/src/AltBeacon/Logging/VerboseDiagnosticsLoggerFactory.cs create mode 100644 AltBeacon.Library/src/AltBeacon/Logging/WarningDiagnosticsLogger.cs create mode 100644 AltBeacon.Library/src/AltBeacon/Logging/WarningDiagnosticsLoggerFactory.cs diff --git a/AltBeacon.Library/AltBeacon.Library.csproj b/AltBeacon.Library/AltBeacon.Library.csproj index 5e2b9eb..f846335 100644 --- a/AltBeacon.Library/AltBeacon.Library.csproj +++ b/AltBeacon.Library/AltBeacon.Library.csproj @@ -44,6 +44,16 @@ + + + + + + + + + + + + + + + + + + @@ -55,7 +59,7 @@ - +