Show / Hide Table of Contents

    Class Logger

    Inheritance
    Object
    Logger
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace:Microsoft.DocAsCode.Common
    Assembly:Microsoft.DocAsCode.Common.dll
    Syntax
    public static class Logger

    Fields

    | Improve this Doc View Source

    LogLevelThreshold

    Declaration
    public static volatile LogLevel LogLevelThreshold
    Field Value
    Type Description
    LogLevel

    Methods

    | Improve this Doc View Source

    FindListener(Predicate<ILoggerListener>)

    Declaration
    public static ILoggerListener FindListener(Predicate<ILoggerListener> predicate)
    Parameters
    Type Name Description
    Predicate<ILoggerListener> predicate
    Returns
    Type Description
    ILoggerListener
    | Improve this Doc View Source

    Flush()

    Declaration
    public static void Flush()
    | Improve this Doc View Source

    Log(ILogItem)

    Declaration
    public static void Log(ILogItem result)
    Parameters
    Type Name Description
    ILogItem result
    | Improve this Doc View Source

    Log(LogLevel, String, String, String, String)

    Declaration
    public static void Log(LogLevel level, string message, string phase = null, string file = null, string line = null)
    Parameters
    Type Name Description
    LogLevel level
    String message
    String phase
    String file
    String line
    | Improve this Doc View Source

    Log(Object)

    Declaration
    public static void Log(object result)
    Parameters
    Type Name Description
    Object result
    | Improve this Doc View Source

    LogDiagnostic(String, String, String, String)

    Declaration
    public static void LogDiagnostic(string message, string phase = null, string file = null, string line = null)
    Parameters
    Type Name Description
    String message
    String phase
    String file
    String line
    | Improve this Doc View Source

    LogError(String, String, String, String)

    Declaration
    public static void LogError(string message, string phase = null, string file = null, string line = null)
    Parameters
    Type Name Description
    String message
    String phase
    String file
    String line
    | Improve this Doc View Source

    LogInfo(String, String, String, String)

    Declaration
    public static void LogInfo(string message, string phase = null, string file = null, string line = null)
    Parameters
    Type Name Description
    String message
    String phase
    String file
    String line
    | Improve this Doc View Source

    LogVerbose(String, String, String, String)

    Declaration
    public static void LogVerbose(string message, string phase = null, string file = null, string line = null)
    Parameters
    Type Name Description
    String message
    String phase
    String file
    String line
    | Improve this Doc View Source

    LogWarning(String, String, String, String)

    Declaration
    public static void LogWarning(string message, string phase = null, string file = null, string line = null)
    Parameters
    Type Name Description
    String message
    String phase
    String file
    String line
    | Improve this Doc View Source

    RegisterListener(ILoggerListener)

    Declaration
    public static void RegisterListener(ILoggerListener listener)
    Parameters
    Type Name Description
    ILoggerListener listener
    | Improve this Doc View Source

    UnregisterAllListeners()

    Declaration
    public static void UnregisterAllListeners()
    | Improve this Doc View Source

    UnregisterListener(ILoggerListener)

    Declaration
    public static void UnregisterListener(ILoggerListener listener)
    Parameters
    Type Name Description
    ILoggerListener listener
    • Improve this Doc
    • View Source
    Back to top Copyright © 2015-2016 Microsoft
    Generated by DocFX