Google.Cloud.Diagnostics.Common - Class LogConsumer (5.1.0)

public static class LogConsumer

Reference documentation and code samples for the Google.Cloud.Diagnostics.Common class LogConsumer.

Functions to create IConsumer<T>s.

Inheritance

object > LogConsumer

Namespace

GoogleCloudGoogle.Cloud.DiagnosticsCommon

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
IConsumerLogEntry