quieter logger
This commit is contained in:
parent
1f9d1fac23
commit
4597df6d96
@ -27,7 +27,7 @@ namespace franz
|
||||
= new Dictionary<string, KafkaConsumer<string, string>>();
|
||||
private Dictionary<string, int> topicSubscribers { get; set; } = new Dictionary<string, int>();
|
||||
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<string> commands = null, List<string> checks = null,
|
||||
List<string> errors = null, List<string> warnings = null)
|
||||
|
10
franz/quieterLogger.cs
Normal file
10
franz/quieterLogger.cs
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
using Kafka.Public.Loggers;
|
||||
|
||||
namespace franz
|
||||
{
|
||||
internal class quieterLogger : ConsoleLogger
|
||||
{
|
||||
new public void LogInformation(string message) {}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user