Search Results for

    Show / Hide Table of Contents

    Class ApplicationLogging

    Helper class for logging all actions in the LemonEdge platform

    Inheritance
    object
    ApplicationLogging
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Utils
    Assembly: LemonEdge.Utils.dll
    Syntax
    public static class ApplicationLogging

    Properties

    LoggerFactory

    Declaration
    public static ILoggerFactory LoggerFactory { get; set; }
    Property Value
    Type Description
    ILoggerFactory

    Methods

    CreateLogger(Type)

    Declaration
    public static ILogger CreateLogger(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    ILogger

    CreateLogger<T>()

    Creates an instance of a logger for logging application details

    Declaration
    public static ILogger<T> CreateLogger<T>()
    Returns
    Type Description
    ILogger<T>

    A new ILogger for logging with

    Type Parameters
    Name Description
    T

    The type the logger is active agaisnt

    CreatePerformanceLogger(string)

    Declaration
    public static IPerformanceLogger CreatePerformanceLogger(string name)
    Parameters
    Type Name Description
    string name
    Returns
    Type Description
    IPerformanceLogger

    CreatePerformanceLogger(Type, string)

    Declaration
    public static IPerformanceLogger CreatePerformanceLogger(Type type, string name = "")
    Parameters
    Type Name Description
    Type type
    string name
    Returns
    Type Description
    IPerformanceLogger

    CreatePerformanceLogger<T>(string)

    Declaration
    public static IPerformanceLogger CreatePerformanceLogger<T>(string name = "")
    Parameters
    Type Name Description
    string name
    Returns
    Type Description
    IPerformanceLogger
    Type Parameters
    Name Description
    T
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.