C# 클래스 NServiceBus.AcceptanceTesting.ContextAppenderFactory

상속: ILoggerFactory
파일 보기 프로젝트 열기: Particular/NServiceBus

공개 메소드들

메소드 설명
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.

메소드 상세

GetLogger() 공개 메소드

public GetLogger ( Type type ) : ILog
type System.Type
리턴 ILog

GetLogger() 공개 메소드

public GetLogger ( string name ) : ILog
name string
리턴 ILog

SetContext() 공개 정적인 메소드

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
리턴 void