Google.Cloud.Diagnostics.Common - Class LogConsumer (5.2.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

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
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
IConsumerLogEntry