Removed some blocking if the logger cannot log to http, tcp or udp
This commit is contained in:
@@ -53,6 +53,18 @@ options.UseMask = true;
|
||||
builder.Logging.AddEonaCatFileLogger(fileLoggerOptions: options, filenamePrefix: "web");
|
||||
builder.Logging.AddEonaCatConsoleLogger();
|
||||
|
||||
TcpLoggerOptions tcpLoggerOptions = new TcpLoggerOptions
|
||||
{
|
||||
Host = "192.168.1.1",
|
||||
Port = 12345,
|
||||
};
|
||||
|
||||
builder.Logging.AddEonaCatTcpLogger((tcpLoggerOptions) =>
|
||||
{
|
||||
tcpLoggerOptions.Port = 12345;
|
||||
tcpLoggerOptions.Host = "192.168.1.1";
|
||||
});
|
||||
|
||||
builder.Services.AddRazorPages();
|
||||
|
||||
//var rateLimitOptions = new RateLimitOptions
|
||||
|
||||
Reference in New Issue
Block a user