C# Class NServiceBus.AcceptanceTesting.ContextAppenderFactory

Inheritance: ILoggerFactory
Mostrar archivo Open project: Particular/NServiceBus

Public Methods

Method 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 method

public GetLogger ( Type type ) : ILog
type System.Type
return ILog

GetLogger() public method

public GetLogger ( string name ) : ILog
name string
return ILog

SetContext() public static method

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
return void