sql日志打印输出配置

This commit is contained in:
陈淳
2022-10-18 09:01:16 +08:00
parent 9d365dbf1e
commit dab4a092d9
20 changed files with 100 additions and 66 deletions

View File

@@ -52,10 +52,14 @@ namespace Yi.Framework.WebCore.BuilderExtend
{
var property = apolloProvider.GetType().BaseType?.GetProperty("Data", BindingFlags.Instance | BindingFlags.NonPublic);
var data = property?.GetValue(apolloProvider) as IDictionary<string, string>;
foreach (var item in data)
if (data is not null)
{
Console.WriteLine($"key {item.Key} value {item.Value}");
foreach (var item in data)
{
Console.WriteLine($"key {item.Key} value {item.Value}");
}
}
}
});
}