Search Results for

    Show / Hide Table of Contents

    Class ConsoleLogger

    Inheritance
    object
    ConsoleLogger
    Implements
    ILogger
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Tenray.ZoneTree.Logger
    Assembly: ZoneTree.dll
    Syntax
    public sealed class ConsoleLogger : ILogger

    Constructors

    | Improve this Doc View Source

    ConsoleLogger()

    Declaration
    public ConsoleLogger()
    | Improve this Doc View Source

    ConsoleLogger(LogLevel)

    Declaration
    public ConsoleLogger(LogLevel logLevel)
    Parameters
    Type Name Description
    LogLevel logLevel

    Fields

    | Improve this Doc View Source

    DefaultLogLevel

    Declaration
    public static LogLevel DefaultLogLevel
    Field Value
    Type Description
    LogLevel

    Properties

    | Improve this Doc View Source

    LogLevel

    Sets or gets the current log level.

    Declaration
    public LogLevel LogLevel { get; set; }
    Property Value
    Type Description
    LogLevel

    Methods

    | Improve this Doc View Source

    LogError(Exception)

    Logs an error.

    Declaration
    public void LogError(Exception log)
    Parameters
    Type Name Description
    Exception log
    | Improve this Doc View Source

    LogInfo(object)

    Logs an information.

    Declaration
    public void LogInfo(object log)
    Parameters
    Type Name Description
    object log
    | Improve this Doc View Source

    LogTrace(object)

    Logs a trace information.

    Declaration
    public void LogTrace(object log)
    Parameters
    Type Name Description
    object log
    | Improve this Doc View Source

    LogWarning(object)

    Logs a warning.

    Declaration
    public void LogWarning(object log)
    Parameters
    Type Name Description
    object log

    Implements

    ILogger
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 Tenray.io