Skip to content
Kakous edited this page Mar 21, 2019 · 1 revision

日志对于任何系统都很重,方便查找问题,Uragano集成了对Exceptionless,Log4Net,NLog的支持。

service.AddUragano(context.Configuration, builder =>
                    {
                        builder.AddClient<LoadBalancingPolling>();
                        builder.AddConsul();
                        builder.AddExceptionlessLogger();
                        builder.AddLog4NetLogger();
                        builder.AddNLogLogger();
                    });
Clone this wiki locally