C# 클래스 FoundationDB.Filters.Logging.FdbLoggingExtensions

Set of extension methods that add logging support on transactions
파일 보기 프로젝트 열기: BedeGaming/foundationdb-dotnet-client

공개 메소드들

메소드 설명
Annotate ( this trans, string message ) : void

Annotate a logged transaction

WithoutLogging ( this database ) : IFdbDatabase

Strip the logging behaviour of this database. Use this for boilerplate or test code that would pollute the logs otherwise.

비공개 메소드들

메소드 설명
Annotate ( this trans, string format, object arg0 ) : void
Annotate ( this trans, string format, object arg0, object arg1 ) : void
Annotate ( this trans, string format, object arg0, object arg1, object arg2 ) : void
GetLogger ( IFdbReadOnlyTransaction trans ) : FdbLoggedTransaction
Logged ( [ database, [ handler, FdbLoggingOptions options = FdbLoggingOptions.Default ) : FdbLoggedDatabase

메소드 상세

Annotate() 공개 정적인 메소드

Annotate a logged transaction
public static Annotate ( this trans, string message ) : void
trans this
message string
리턴 void

WithoutLogging() 공개 정적인 메소드

Strip the logging behaviour of this database. Use this for boilerplate or test code that would pollute the logs otherwise.
public static WithoutLogging ( this database ) : IFdbDatabase
database this Database instance (that may or may not be logged)
리턴 IFdbDatabase