C# Class NServiceBus.AcceptanceTesting.ContextAppenderFactory

Inheritance: ILoggerFactory
Afficher le fichier Open project: Particular/NServiceBus

Méthodes publiques

Méthode Description
GetLogger ( Type type ) : ILog
GetLogger ( string name ) : ILog
SetContext ( ScenarioContext newContext ) : void

Because ILoggerFactory interface methods are only used in a static context. This is the only way to set the currently executing context.

Method Details

GetLogger() public méthode

public GetLogger ( Type type ) : ILog
type System.Type
Résultat ILog

GetLogger() public méthode

public GetLogger ( string name ) : ILog
name string
Résultat ILog

SetContext() public static méthode

Because ILoggerFactory interface methods are only used in a static context. This is the only way to set the currently executing context.
public static SetContext ( ScenarioContext newContext ) : void
newContext ScenarioContext The new context to be set
Résultat void