C# Класс FoundationDB.Filters.Logging.FdbLoggingExtensions

Set of extension methods that add logging support on transactions
Показать файл Открыть проект

Открытые методы

Метод Описание
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