BatchLogListenerBase

Name Value
Assembly Catel.Core
Namespace Catel.Logging
Available on .NET Framework 4.5, .NET Framework 4.6, Portable Class Libraries, Xamarin - Android, Xamarin - iOS
public abstract class BatchLogListenerBase : IBatchLogListener, LogListenerBase

Base types LogListenerBase

Base types

IBatchLogListener

Base class for log listeners that can write in batches.

Fields

Constructors

BatchLogListenerBase(int maxBatchCount)

Initializes a new instance of the BatchLogListenerBase class.

Parameters

Name Description
maxBatchCount The maximum batch count.

Properties

MaximumBatchCount

Gets the maximum batch count.

Methods

FlushAsync()

Flushes the current queue asynchronous.

Returns

Task so it can be awaited.


Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion