diff --git a/CqlSharp/Logging/LoggerManager.cs b/CqlSharp/Logging/LoggerManager.cs index 37bf6c2..92a3bc8 100644 --- a/CqlSharp/Logging/LoggerManager.cs +++ b/CqlSharp/Logging/LoggerManager.cs @@ -106,8 +106,13 @@ public void LoadLoggerFactories() } catch { - //in case of any loading errors, assume no factories are loaded - LoggerFactories = new List(); + //in case of any loading errors, load only the loggers that we implement + LoggerFactories = new List() + { + new NullLoggerFactory(), + new ConsoleLoggerFactory(), + new DebugLoggerFactory() + }; } } }