C# Class WebApplications.Utilities.Service.NamedPipeServer.NamedPipeServerLogger

Class NamedPipeServerLogger.
Inheritance: WebApplications.Utilities.Logging.Loggers.LoggerBase
Exibir arquivo Open project: webappsuk/CoreLibraries

Public Methods

Method Description
Add ( IEnumerable logs, CancellationToken token = newCancellationToken() ) : Task

Adds the specified logs to storage in batches.

NamedPipeServerLogger ( [ server ) : System.Collections.Generic

Initializes a new instance of the NamedPipeServerLogger class.

Method Details

Add() public method

Adds the specified logs to storage in batches.
public Add ( IEnumerable logs, CancellationToken token = newCancellationToken() ) : Task
logs IEnumerable The logs to add to storage.
token System.Threading.CancellationToken The token.
return Task

NamedPipeServerLogger() public method

Initializes a new instance of the NamedPipeServerLogger class.
public NamedPipeServerLogger ( [ server ) : System.Collections.Generic
server [ The server.
return System.Collections.Generic