Class Logger
Inheritance
System.Object
Logger
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: FChoice.Common.dll
Syntax
Properties
IsDebugEnabled
Declaration
public bool IsDebugEnabled { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsErrorEnabled
Declaration
public bool IsErrorEnabled { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsFatalEnabled
Declaration
public bool IsFatalEnabled { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsInfoEnabled
Declaration
public bool IsInfoEnabled { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsWarnEnabled
Declaration
public bool IsWarnEnabled { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Log(LogLevel, Exception, String, Object[])
Declaration
public void Log(LogLevel level, Exception ex, string format, params object[] args)
Parameters
Type |
Name |
Description |
LogLevel |
level |
|
System.Exception |
ex |
|
System.String |
format |
|
System.Object[] |
args |
|
Log(LogLevel, String, Object[])
Declaration
public void Log(LogLevel level, string format, params object[] args)
Parameters
Type |
Name |
Description |
LogLevel |
level |
|
System.String |
format |
|
System.Object[] |
args |
|
LogDebug(Exception, String, Object[])
Declaration
public void LogDebug(Exception ex, string format, params object[] args)
Parameters
Type |
Name |
Description |
System.Exception |
ex |
|
System.String |
format |
|
System.Object[] |
args |
|
LogDebug(String, Object[])
Declaration
public void LogDebug(string format, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object[] |
args |
|
LogError(Exception, String, Object[])
Declaration
public void LogError(Exception ex, string format, params object[] args)
Parameters
Type |
Name |
Description |
System.Exception |
ex |
|
System.String |
format |
|
System.Object[] |
args |
|
LogError(String, Object[])
Declaration
public void LogError(string format, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object[] |
args |
|
LogInfo(Exception, String, Object[])
Declaration
public void LogInfo(Exception ex, string format, params object[] args)
Parameters
Type |
Name |
Description |
System.Exception |
ex |
|
System.String |
format |
|
System.Object[] |
args |
|
LogInfo(String, Object[])
Declaration
public void LogInfo(string format, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object[] |
args |
|
LogWarn(Exception, String, Object[])
Declaration
public void LogWarn(Exception ex, string format, params object[] args)
Parameters
Type |
Name |
Description |
System.Exception |
ex |
|
System.String |
format |
|
System.Object[] |
args |
|
LogWarn(String, Object[])
Declaration
public void LogWarn(string format, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object[] |
args |
|