Added batchsize to WriteToTcp
This commit is contained in:
@@ -338,6 +338,7 @@ public sealed class LogBuilder
|
||||
public LogBuilder WriteToTcp(
|
||||
string host,
|
||||
int port,
|
||||
int batchSize = 1,
|
||||
LogLevel minimumLevel = LogLevel.Trace,
|
||||
BackpressureStrategy backpressureStrategy = BackpressureStrategy.Wait,
|
||||
bool useTls = false,
|
||||
@@ -357,6 +358,7 @@ public sealed class LogBuilder
|
||||
_flows.Add(new TcpFlow(
|
||||
host,
|
||||
port,
|
||||
batchSize,
|
||||
minimumLevel,
|
||||
backpressureStrategy,
|
||||
useTls,
|
||||
|
||||
Reference in New Issue
Block a user