C# Class FoundationDB.Filters.Logging.FdbLoggingExtensions

Set of extension methods that add logging support on transactions
Afficher le fichier Open project: BedeGaming/foundationdb-dotnet-client

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

Annotate() public static méthode

Annotate a logged transaction
public static Annotate ( this trans, string message ) : void
trans this
message string
Résultat void

WithoutLogging() public static méthode

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)
Résultat IFdbDatabase