Show / Hide Table of Contents

    Class LoggingExtensions

    The are extension methods for high-performance logging.

    Inheritance
    System.Object
    LoggingExtensions
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: ArgentSea
    Assembly: ArgentSea.dll
    Syntax
    public static class LoggingExtensions

    Methods

    | Improve this Doc View Source

    BuildSqlResultsHandlerScope(ILogger, String, Type)

    Declaration
    public static IDisposable BuildSqlResultsHandlerScope(this ILogger logger, string procedureName, Type model)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String procedureName
    System.Type model
    Returns
    Type Description
    System.IDisposable
    | Improve this Doc View Source

    CiruitBreakingDbCommand(ILogger, String, String)

    Declaration
    public static void CiruitBreakingDbCommand(this ILogger logger, string commandName, string connectionName)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String commandName
    System.String connectionName
    | Improve this Doc View Source

    CiruitBreakingDbConnection(ILogger, String)

    Declaration
    public static void CiruitBreakingDbConnection(this ILogger logger, string connectionName)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String connectionName
    | Improve this Doc View Source

    CiruitBrokenDbCommandRestored(ILogger, String, String)

    Declaration
    public static void CiruitBrokenDbCommandRestored(this ILogger logger, string commandName, string connectionName)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String commandName
    System.String connectionName
    | Improve this Doc View Source

    CiruitBrokenDbCommandTest(ILogger, String, String)

    Declaration
    public static void CiruitBrokenDbCommandTest(this ILogger logger, string commandName, string connectionName)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String commandName
    System.String connectionName
    | Improve this Doc View Source

    CiruitBrokenDbConnectionRestored(ILogger, String)

    Declaration
    public static void CiruitBrokenDbConnectionRestored(this ILogger logger, string connectionName)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String connectionName
    | Improve this Doc View Source

    CiruitBrokenDbConnectionTest(ILogger, String)

    Declaration
    public static void CiruitBrokenDbConnectionTest(this ILogger logger, string connectionName)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String connectionName
    | Improve this Doc View Source

    CreatedExpressionTreeForModel(ILogger, Type, String, Expression)

    Declaration
    public static void CreatedExpressionTreeForModel(this ILogger logger, Type model, string procedureName, Expression codeBlock)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.Type model
    System.String procedureName
    System.Linq.Expressions.Expression codeBlock
    | Improve this Doc View Source

    CreatedExpressionTreeForReaderOrdinals(ILogger, Type, Expression)

    Declaration
    public static void CreatedExpressionTreeForReaderOrdinals(this ILogger logger, Type model, Expression codeBlock)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.Type model
    System.Linq.Expressions.Expression codeBlock
    | Improve this Doc View Source

    CreatedExpressionTreeForReaderRowData(ILogger, Type, Expression)

    Declaration
    public static void CreatedExpressionTreeForReaderRowData(this ILogger logger, Type model, Expression codeBlock)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.Type model
    System.Linq.Expressions.Expression codeBlock
    | Improve this Doc View Source

    CreatedExpressionTreeForReadOutParameters(ILogger, Type, Expression)

    Declaration
    public static void CreatedExpressionTreeForReadOutParameters(this ILogger logger, Type model, Expression codeBlock)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.Type model
    System.Linq.Expressions.Expression codeBlock
    | Improve this Doc View Source

    CreatedExpressionTreeForSetInParameters(ILogger, Type, Expression)

    Declaration
    public static void CreatedExpressionTreeForSetInParameters(this ILogger logger, Type model, Expression codeBlock)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.Type model
    System.Linq.Expressions.Expression codeBlock
    | Improve this Doc View Source

    CreatedExpressionTreeForSetOutParameters(ILogger, Type, Expression)

    Declaration
    public static void CreatedExpressionTreeForSetOutParameters(this ILogger logger, Type model, Expression codeBlock)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.Type model
    System.Linq.Expressions.Expression codeBlock
    | Improve this Doc View Source

    DataReaderIsClosed(ILogger, String, String)

    Declaration
    public static void DataReaderIsClosed(this ILogger logger, string sprocName, string connectionName)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String sprocName
    System.String connectionName
    | Improve this Doc View Source

    DataReaderIsNull(ILogger, String, String)

    Declaration
    public static void DataReaderIsNull(this ILogger logger, string sprocName, string connectionName)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String sprocName
    System.String connectionName
    | Improve this Doc View Source

    NullShardChildArguments<TShard, TRecord, TChild>(ILogger, String, ShardChild<TShard, TRecord, TChild>)

    Declaration
    public static void NullShardChildArguments<TShard, TRecord, TChild>(this ILogger logger, string propertyName, ShardChild<TShard, TRecord, TChild> shardChild)
        where TShard : IComparable where TRecord : IComparable where TChild : IComparable
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String propertyName
    ShardChild<TShard, TRecord, TChild> shardChild
    Type Parameters
    Name Description
    TShard
    TRecord
    TChild
    | Improve this Doc View Source

    NullShardKeyArguments<TShard, TRecord>(ILogger, String, ShardKey<TShard, TRecord>)

    Declaration
    public static void NullShardKeyArguments<TShard, TRecord>(this ILogger logger, string propertyName, ShardKey<TShard, TRecord> shardKey)
        where TShard : IComparable where TRecord : IComparable
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String propertyName
    ShardKey<TShard, TRecord> shardKey
    Type Parameters
    Name Description
    TShard
    TRecord
    | Improve this Doc View Source

    RequiredPropertyIsDbNull(ILogger, String, String)

    Declaration
    public static void RequiredPropertyIsDbNull(this ILogger logger, string modelName, string parameterName)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String modelName
    System.String parameterName
    | Improve this Doc View Source

    RetryingDbCommand(ILogger, String, String, Int32, Exception)

    Declaration
    public static void RetryingDbCommand(this ILogger logger, string commandName, string connectionName, int attemptCount, Exception exception)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String commandName
    System.String connectionName
    System.Int32 attemptCount
    System.Exception exception
    | Improve this Doc View Source

    RetryingDbConnection(ILogger, String, Int32, Exception)

    Declaration
    public static void RetryingDbConnection(this ILogger logger, string connectionName, int attemptCount, Exception exception)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String connectionName
    System.Int32 attemptCount
    System.Exception exception
    | Improve this Doc View Source

    SqlFieldNotFound(ILogger, String, Type)

    Declaration
    public static void SqlFieldNotFound(this ILogger logger, string columnName, Type TModel)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String columnName
    System.Type TModel
    | Improve this Doc View Source

    SqlInParametersCacheHit(ILogger, Type)

    Declaration
    public static void SqlInParametersCacheHit(this ILogger logger, Type TModel)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.Type TModel
    | Improve this Doc View Source

    SqlInParametersCacheMiss(ILogger, Type)

    Declaration
    public static void SqlInParametersCacheMiss(this ILogger logger, Type TModel)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.Type TModel
    | Improve this Doc View Source

    SqlParameterNotFound(ILogger, String, Type)

    Declaration
    public static void SqlParameterNotFound(this ILogger logger, string parameterName, Type propertyType)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String parameterName
    System.Type propertyType
    | Improve this Doc View Source

    SqlReaderCacheHit(ILogger, Type)

    Declaration
    public static void SqlReaderCacheHit(this ILogger logger, Type TModel)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.Type TModel
    | Improve this Doc View Source

    SqlReaderCacheMiss(ILogger, Type)

    Declaration
    public static void SqlReaderCacheMiss(this ILogger logger, Type TModel)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.Type TModel
    | Improve this Doc View Source

    SqlReadOutParametersCacheHit(ILogger, Type)

    Declaration
    public static void SqlReadOutParametersCacheHit(this ILogger logger, Type TModel)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.Type TModel
    | Improve this Doc View Source

    SqlReadOutParametersCacheMiss(ILogger, Type)

    Declaration
    public static void SqlReadOutParametersCacheMiss(this ILogger logger, Type TModel)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.Type TModel
    | Improve this Doc View Source

    SqlSetOutParametersCacheHit(ILogger, Type)

    Declaration
    public static void SqlSetOutParametersCacheHit(this ILogger logger, Type TModel)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.Type TModel
    | Improve this Doc View Source

    SqlSetOutParametersCacheMiss(ILogger, Type)

    Declaration
    public static void SqlSetOutParametersCacheMiss(this ILogger logger, Type TModel)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.Type TModel
    | Improve this Doc View Source

    TraceDbCmdExecuted(ILogger, String, String, Int64)

    Declaration
    public static void TraceDbCmdExecuted(this ILogger logger, string commandName, string connectionName, long milliseconds)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String commandName
    System.String connectionName
    System.Int64 milliseconds
    | Improve this Doc View Source

    TraceGetOutMapperProperty(ILogger, String)

    Declaration
    public static void TraceGetOutMapperProperty(this ILogger logger, string propertyName)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String propertyName
    | Improve this Doc View Source

    TraceInMapperProperty(ILogger, String)

    Declaration
    public static void TraceInMapperProperty(this ILogger logger, string propertyName)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String propertyName
    | Improve this Doc View Source

    TraceRdrMapperProperty(ILogger, String)

    Declaration
    public static void TraceRdrMapperProperty(this ILogger logger, string propertyName)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String propertyName
    | Improve this Doc View Source

    TraceSetOutMapperProperty(ILogger, String)

    Declaration
    public static void TraceSetOutMapperProperty(this ILogger logger, string propertyName)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String propertyName
    | Improve this Doc View Source

    TraceShardCmdExecuted<TShard>(ILogger, String, String, TShard, Int64)

    Declaration
    public static void TraceShardCmdExecuted<TShard>(this ILogger logger, string commandName, string shardSetKey, TShard shardId, long milliseconds)
        where TShard : IComparable
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger logger
    System.String commandName
    System.String shardSetKey
    TShard shardId
    System.Int64 milliseconds
    Type Parameters
    Name Description
    TShard
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX