Exemplo n.º 1
0
 /// <summary>
 /// Configure KafkaFlow to use the  Microsoft Logging framework to log messages.
 /// </summary>
 /// <param name="builder">The Kafka configuration builder</param>
 /// <returns></returns>
 public static IKafkaConfigurationBuilder UseMicrosoftLog(this IKafkaConfigurationBuilder builder) =>
 builder.UseLogHandler <MicrosoftLogHandler>();
Exemplo n.º 2
0
 /// <summary>
 /// Configure KafkaFlow to use the Console to log messages
 /// </summary>
 /// <param name="builder"></param>
 /// <returns></returns>
 public static IKafkaConfigurationBuilder UseConsoleLog(this IKafkaConfigurationBuilder builder) =>
 builder.UseLogHandler <ConsoleLogHandler>();