C# Class NLog.Extensions.Logging.NLogLoggerProvider

Provider logger for NLog.
Inheritance: Microsoft.Extensions.Logging.ILoggerProvider
Afficher le fichier Open project: NLog/NLog.Extensions.Logging Class Usage Examples

Méthodes publiques

Méthode Description
CreateLogger ( string name ) : Microsoft.Extensions.Logging.ILogger

Create a logger with the name name.

Dispose ( ) : void

Cleanup

NLogLoggerProvider ( )

NLogLoggerProvider with default options.

Method Details

CreateLogger() public méthode

Create a logger with the name name.
public CreateLogger ( string name ) : Microsoft.Extensions.Logging.ILogger
name string Name of the logger to be created.
Résultat Microsoft.Extensions.Logging.ILogger

Dispose() public méthode

Cleanup
public Dispose ( ) : void
Résultat void

NLogLoggerProvider() public méthode

NLogLoggerProvider with default options.
public NLogLoggerProvider ( )