Show / Hide Table of Contents

Class LogConsumer

Functions to create IConsumer<T>s.

Inheritance
System.Object
LogConsumer
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Diagnostics.Common
Assembly: Google.Cloud.Diagnostics.Common.dll
Syntax
public static class LogConsumer

Methods

Create(LoggingServiceV2Client, BufferOptions, RetryOptions)

Creates an IConsumer<T> based on the client and options.

Declaration
public static IConsumer<LogEntry> Create(LoggingServiceV2Client client, BufferOptions bufferOptions, RetryOptions retryOptions)
Parameters
Type Name Description
LoggingServiceV2Client client

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>
Back to top