public static class LogConsumer
Functions 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 | LoggingServiceV2Client A client to send log entries with. Must not be null. |
bufferOptions | BufferOptions The buffering options. Must not be null. |
retryOptions | RetryOptions The retry options. Must not be null. |
Returns | |
---|---|
Type | Description |
IConsumer<LogEntry> |