Search Results for

    Show / Hide Table of Contents

    Class PerformanceLogger

    Inheritance
    object
    PerformanceLogger
    Implements
    IPerformanceLogger
    IDisposable
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Utils.Logging
    Assembly: LemonEdge.Utils.dll
    Syntax
    public class PerformanceLogger : IPerformanceLogger, IDisposable

    Constructors

    PerformanceLogger(ILogger, string)

    Declaration
    public PerformanceLogger(ILogger logger, string name = "")
    Parameters
    Type Name Description
    ILogger logger
    string name

    Methods

    Dispose()

    Declaration
    public void Dispose()

    EndLog()

    Declaration
    public void EndLog()

    Log(LogLevel, EventId, string?, params object?[])

    Declaration
    public void Log(LogLevel logLevel, EventId eventId, string? message, params object?[] args)
    Parameters
    Type Name Description
    LogLevel logLevel
    EventId eventId
    string message
    object[] args

    Log(LogLevel, Exception?, string?, params object?[])

    Declaration
    public void Log(LogLevel logLevel, Exception? exception, string? message, params object?[] args)
    Parameters
    Type Name Description
    LogLevel logLevel
    Exception exception
    string message
    object[] args

    Log(LogLevel, string?, params object?[])

    Declaration
    public void Log(LogLevel logLevel, string? message, params object?[] args)
    Parameters
    Type Name Description
    LogLevel logLevel
    string message
    object[] args

    LogCritical(EventId, Exception?, string?, params object?[])

    Declaration
    public void LogCritical(EventId eventId, Exception? exception, string? message, params object?[] args)
    Parameters
    Type Name Description
    EventId eventId
    Exception exception
    string message
    object[] args

    LogCritical(EventId, string?, params object?[])

    Declaration
    public void LogCritical(EventId eventId, string? message, params object?[] args)
    Parameters
    Type Name Description
    EventId eventId
    string message
    object[] args

    LogCritical(Exception?, string?, params object?[])

    Declaration
    public void LogCritical(Exception? exception, string? message, params object?[] args)
    Parameters
    Type Name Description
    Exception exception
    string message
    object[] args

    LogCritical(string?, params object?[])

    Declaration
    public void LogCritical(string? message, params object?[] args)
    Parameters
    Type Name Description
    string message
    object[] args

    LogDebug(EventId, Exception?, string?, params object?[])

    Declaration
    public void LogDebug(EventId eventId, Exception? exception, string? message, params object?[] args)
    Parameters
    Type Name Description
    EventId eventId
    Exception exception
    string message
    object[] args

    LogDebug(EventId, string?, params object?[])

    Declaration
    public void LogDebug(EventId eventId, string? message, params object?[] args)
    Parameters
    Type Name Description
    EventId eventId
    string message
    object[] args

    LogDebug(Exception?, string?, params object?[])

    Declaration
    public void LogDebug(Exception? exception, string? message, params object?[] args)
    Parameters
    Type Name Description
    Exception exception
    string message
    object[] args

    LogDebug(string?, params object?[])

    Declaration
    public void LogDebug(string? message, params object?[] args)
    Parameters
    Type Name Description
    string message
    object[] args

    LogError(EventId, Exception?, string?, params object?[])

    Declaration
    public void LogError(EventId eventId, Exception? exception, string? message, params object?[] args)
    Parameters
    Type Name Description
    EventId eventId
    Exception exception
    string message
    object[] args

    LogError(EventId, string?, params object?[])

    Declaration
    public void LogError(EventId eventId, string? message, params object?[] args)
    Parameters
    Type Name Description
    EventId eventId
    string message
    object[] args

    LogError(Exception?, string?, params object?[])

    Declaration
    public void LogError(Exception? exception, string? message, params object?[] args)
    Parameters
    Type Name Description
    Exception exception
    string message
    object[] args

    LogError(string?, params object?[])

    Declaration
    public void LogError(string? message, params object?[] args)
    Parameters
    Type Name Description
    string message
    object[] args

    LogInformation(EventId, Exception?, string?, params object?[])

    Declaration
    public void LogInformation(EventId eventId, Exception? exception, string? message, params object?[] args)
    Parameters
    Type Name Description
    EventId eventId
    Exception exception
    string message
    object[] args

    LogInformation(EventId, string?, params object?[])

    Declaration
    public void LogInformation(EventId eventId, string? message, params object?[] args)
    Parameters
    Type Name Description
    EventId eventId
    string message
    object[] args

    LogInformation(Exception?, string?, params object?[])

    Declaration
    public void LogInformation(Exception? exception, string? message, params object?[] args)
    Parameters
    Type Name Description
    Exception exception
    string message
    object[] args

    LogInformation(string?, params object?[])

    Declaration
    public void LogInformation(string? message, params object?[] args)
    Parameters
    Type Name Description
    string message
    object[] args

    LogTrace(EventId, Exception?, string?, params object?[])

    Declaration
    public void LogTrace(EventId eventId, Exception? exception, string? message, params object?[] args)
    Parameters
    Type Name Description
    EventId eventId
    Exception exception
    string message
    object[] args

    LogTrace(EventId, string?, params object?[])

    Declaration
    public void LogTrace(EventId eventId, string? message, params object?[] args)
    Parameters
    Type Name Description
    EventId eventId
    string message
    object[] args

    LogTrace(Exception?, string?, params object?[])

    Declaration
    public void LogTrace(Exception? exception, string? message, params object?[] args)
    Parameters
    Type Name Description
    Exception exception
    string message
    object[] args

    LogTrace(string?, params object?[])

    Declaration
    public void LogTrace(string? message, params object?[] args)
    Parameters
    Type Name Description
    string message
    object[] args

    LogWarning(EventId, Exception?, string?, params object?[])

    Declaration
    public void LogWarning(EventId eventId, Exception? exception, string? message, params object?[] args)
    Parameters
    Type Name Description
    EventId eventId
    Exception exception
    string message
    object[] args

    LogWarning(EventId, string?, params object?[])

    Declaration
    public void LogWarning(EventId eventId, string? message, params object?[] args)
    Parameters
    Type Name Description
    EventId eventId
    string message
    object[] args

    LogWarning(Exception?, string?, params object?[])

    Declaration
    public void LogWarning(Exception? exception, string? message, params object?[] args)
    Parameters
    Type Name Description
    Exception exception
    string message
    object[] args

    LogWarning(string?, params object?[])

    Declaration
    public void LogWarning(string? message, params object?[] args)
    Parameters
    Type Name Description
    string message
    object[] args

    Restart()

    Declaration
    public void Restart()

    Implements

    IPerformanceLogger
    IDisposable

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.