diff --git a/franz/Telefranz.cs b/franz/Telefranz.cs index c4a6ee7..a957338 100644 --- a/franz/Telefranz.cs +++ b/franz/Telefranz.cs @@ -27,7 +27,7 @@ namespace franz = new Dictionary>(); private Dictionary topicSubscribers { get; set; } = new Dictionary(); private Kafka.Public.Configuration clusterClientConfig = null; - private static ConsoleLogger consoleLogger = new ConsoleLogger(); + private static quieterLogger consoleLogger = new quieterLogger(); private Telefranz(string name, string bootstrap_servers, List commands = null, List checks = null, List errors = null, List warnings = null) diff --git a/franz/quieterLogger.cs b/franz/quieterLogger.cs new file mode 100644 index 0000000..c3a6073 --- /dev/null +++ b/franz/quieterLogger.cs @@ -0,0 +1,10 @@ + +using Kafka.Public.Loggers; + +namespace franz +{ + internal class quieterLogger : ConsoleLogger + { + new public void LogInformation(string message) {} + } +} \ No newline at end of file