Class Logger
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
Methods
|
Improve this Doc
View Source
FindListener(Predicate<ILoggerListener>)
Declaration
public static ILoggerListener FindListener(Predicate<ILoggerListener> predicate)
Parameters
Returns
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
Improve this Doc
View Source
RegisterListener(ILoggerListener)
Declaration
public static void RegisterListener(ILoggerListener listener)
Parameters
|
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