public static class LogConsumerFunctions to create IConsumer<T>s.
Namespace
Google.Cloud.Diagnostics.CommonAssembly
Google.Cloud.Diagnostics.Common.dll
Methods
Create(LoggingServiceV2Client, BufferOptions, RetryOptions)
public static IConsumer<LogEntry> Create(LoggingServiceV2Client client, BufferOptions bufferOptions, RetryOptions retryOptions)Creates an IConsumer<T> based on the client and options.
| Parameters | |
|---|---|
| Name | Description |
client |
LoggingServiceV2ClientA client to send log entries with. Must not be null. |
bufferOptions |
BufferOptionsThe buffering options. Must not be null. |
retryOptions |
RetryOptionsThe retry options. Must not be null. |
| Returns | |
|---|---|
| Type | Description |
IConsumer<LogEntry> |
|