CodeFactory for Windows CodeFactory for Windows
CodeFactory for Windows CodeFactory for Windows
CodeFactory

Search Results for

    Interface ILogger

    Standard logging interface used by Code factory to log information about the execution of code factory.

    Namespace: CodeFactory.WinVs.Logging
    Assembly: CodeFactory.WinVs.dll
    Syntax
    public interface ILogger

    Methods

    Critical(string, Exception, string, int)

    Logs critical level information about the executing code base. This level is always logged when enabled.

    Declaration
    void Critical(string message, Exception exception, string memberName = null, int lineNumber = 0)
    Parameters
    Type Name Description
    string message

    Message to be logged.

    Exception exception

    The exception that occurred that needs to be logged.

    string memberName

    The name of the member being logged.Important the compiler will populate this value automatically.

    int lineNumber

    The line number where the logging event occurs.Important the compiler will populate this value automatically.

    Critical(string, string, int)

    Logs critical level information about the executing code base. This level is always logged when enabled.

    Declaration
    void Critical(string message, string memberName = null, int lineNumber = 0)
    Parameters
    Type Name Description
    string message

    Message to be logged.

    string memberName

    The name of the member being logged.Important the compiler will populate this value automatically.

    int lineNumber

    The line number where the logging event occurs.Important the compiler will populate this value automatically.

    Debug(string, string, int)

    Logs debug level information. This level is used for application debugging.

    Declaration
    void Debug(string message, string memberName = null, int lineNumber = 0)
    Parameters
    Type Name Description
    string message

    Message to be logged.

    string memberName

    The name of the member being logged.Important the compiler will populate this value automatically.

    int lineNumber

    The line number where the logging event occurs.Important the compiler will populate this value automatically.

    DebugEnter(string, int)

    Logs the entering into a member. This is an debuglevel log message.

    Declaration
    void DebugEnter(string memberName = null, int lineNumber = 0)
    Parameters
    Type Name Description
    string memberName

    The name of the member being logged. Important the compiler will populate this value automatically.

    int lineNumber

    The line number where the logging event occurs. Important the compiler will populate this value automatically.

    DebugExit(string, int)

    Logs the exiting of a member. This is an debug level log message.

    Declaration
    void DebugExit(string memberName = null, int lineNumber = 0)
    Parameters
    Type Name Description
    string memberName

    The name of the member being logged.Important the compiler will populate this value automatically.

    int lineNumber

    The line number where the logging event occurs.Important the compiler will populate this value automatically.

    Error(string, Exception, string, int)

    Logs error level information about the executing code base. This level is always logged when enabled.

    Declaration
    void Error(string message, Exception exception, string memberName = null, int lineNumber = 0)
    Parameters
    Type Name Description
    string message

    Message to be logged.

    Exception exception

    The exception that occurred that needs to be logged.

    string memberName

    The name of the member being logged.Important the compiler will populate this value automatically.

    int lineNumber

    The line number where the logging event occurs.Important the compiler will populate this value automatically.

    Error(string, string, int)

    Logs error level information about the executing code base. This level is always logged when enabled.

    Declaration
    void Error(string message, string memberName = null, int lineNumber = 0)
    Parameters
    Type Name Description
    string message

    Message to be logged.

    string memberName

    The name of the member being logged.Important the compiler will populate this value automatically.

    int lineNumber

    The line number where the logging event occurs.Important the compiler will populate this value automatically.

    InfoEnter(string, int)

    Logs the entering into a member. This is an information level log message.

    Declaration
    void InfoEnter(string memberName = null, int lineNumber = 0)
    Parameters
    Type Name Description
    string memberName

    The name of the member being logged. Important the compiler will populate this value automatically.

    int lineNumber

    The line number where the logging event occurs. Important the compiler will populate this value automatically.

    InfoExit(string, int)

    Logs the exiting of a member. This is an information level log message.

    Declaration
    void InfoExit(string memberName = null, int lineNumber = 0)
    Parameters
    Type Name Description
    string memberName

    The name of the member being logged.Important the compiler will populate this value automatically.

    int lineNumber

    The line number where the logging event occurs.Important the compiler will populate this value automatically.

    Information(string, string, int)

    Logs general information about the executing code base. This is the default logging level.

    Declaration
    void Information(string message, string memberName = null, int lineNumber = 0)
    Parameters
    Type Name Description
    string message

    Message to be logged.

    string memberName

    The name of the member being logged.Important the compiler will populate this value automatically.

    int lineNumber

    The line number where the logging event occurs.Important the compiler will populate this value automatically.

    Trace(string, string, int)

    Logs detailed execution information. This level is used for application tracing.

    Declaration
    void Trace(string message, string memberName = null, int lineNumber = 0)
    Parameters
    Type Name Description
    string message

    Message to be logged.

    string memberName

    The name of the member being logged.Important the compiler will populate this value automatically.

    int lineNumber

    The line number where the logging event occurs.Important the compiler will populate this value automatically.

    TraceEnter(string, int)

    Logs the entering into a member. This is an trace level log message.

    Declaration
    void TraceEnter(string memberName = null, int lineNumber = 0)
    Parameters
    Type Name Description
    string memberName

    The name of the member being logged. Important the compiler will populate this value automatically.

    int lineNumber

    The line number where the logging event occurs. Important the compiler will populate this value automatically.

    TraceExit(string, int)

    Logs the exiting of a member. This is an trace level log message.

    Declaration
    void TraceExit(string memberName = null, int lineNumber = 0)
    Parameters
    Type Name Description
    string memberName

    The name of the member being logged.Important the compiler will populate this value automatically.

    int lineNumber

    The line number where the logging event occurs.Important the compiler will populate this value automatically.

    Warning(string, Exception, string, int)

    Logs warning level information about the executing code base. This level is always logged when enabled.

    Declaration
    void Warning(string message, Exception exception, string memberName = null, int lineNumber = 0)
    Parameters
    Type Name Description
    string message

    Message to be logged.

    Exception exception

    The exception that occurred that needs to be logged.

    string memberName

    The name of the member being logged.Important the compiler will populate this value automatically.

    int lineNumber

    The line number where the logging event occurs.Important the compiler will populate this value automatically.

    Warning(string, string, int)

    Logs warning level information about the executing code base. This level is always logged when enabled.

    Declaration
    void Warning(string message, string memberName = null, int lineNumber = 0)
    Parameters
    Type Name Description
    string message

    Message to be logged.

    string memberName

    The name of the member being logged.Important the compiler will populate this value automatically.

    int lineNumber

    The line number where the logging event occurs.Important the compiler will populate this value automatically.

    © CodeFactory, LLC. All rights reserved.