Class LogConsumer (4.3.1)

public static class LogConsumer

Functions to create IConsumer<T>s.

Inheritance

Object > LogConsumer

Namespace

Google.Cloud.Diagnostics.Common

Assembly

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
NameDescription
clientLoggingServiceV2Client

A client to send log entries with. Must not be null.

bufferOptionsBufferOptions

The buffering options. Must not be null.

retryOptionsRetryOptions

The retry options. Must not be null.

Returns
TypeDescription
IConsumer<LogEntry>