C# Class WebApplications.Utilities.Logging.Loggers.GlobalLogger

Inheritance: LoggerBase
Afficher le fichier Open project: webappsuk/CoreLibraries

Méthodes publiques

Méthode Description
Add ( IEnumerable logs, CancellationToken token = newCancellationToken() ) : Task

Adds the specified logs to storage in batches.

GlobalLogger ( LoggingLevels validLevels = LoggingLevels.All ) : System

Initializes a new instance of the GlobalLogger class.

Private Methods

Méthode Description
GlobalLogger ( ) : System

Method Details

Add() public méthode

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.
Résultat Task

GlobalLogger() public méthode

Initializes a new instance of the GlobalLogger class.
public GlobalLogger ( LoggingLevels validLevels = LoggingLevels.All ) : System
validLevels LoggingLevels The valid levels.
Résultat System