private static void RegisterClientViaConfiguration(TomatoLogSinkConfiguration configuration) { var flowType = configuration.GetRealFlowType(); var client = TomatoLogClientCreator.Create(flowType, configuration); TomatoClientManager.Set(client, flowType); }
private static void RegisterClientsViaOptions(TomatoLogSinkOptions options) { var client = TomatoLogClientCreator.Create(options); TomatoClientManager.Set(client, options.FlowType); }