Class Logger
Defines a static wrapper class for enabling easy logging through the encapsulated ILogger
instance.
Inheritance
System.Object
Logger
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Juhta.Net.dll
Syntax
public static class Logger
Methods
|
Improve this Doc
View Source
LogAlert(AlertMessage)
Declaration
public static void LogAlert(AlertMessage message)
Parameters
|
Improve this Doc
View Source
LogAlert(AlertMessage, Object[])
Declaration
public static void LogAlert(AlertMessage message, params object[] args)
Parameters
Type |
Name |
Description |
AlertMessage |
message |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
LogAlert(String)
Declaration
public static void LogAlert(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
|
Improve this Doc
View Source
LogAlert(String, Object[])
Declaration
public static void LogAlert(string messageFormat, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
messageFormat |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
LogError(ErrorMessage)
Declaration
public static void LogError(ErrorMessage message)
Parameters
|
Improve this Doc
View Source
LogError(ErrorMessage, Object[])
Declaration
public static void LogError(ErrorMessage message, params object[] args)
Parameters
Type |
Name |
Description |
ErrorMessage |
message |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
LogError(Exception)
Declaration
public static void LogError(Exception exception)
Parameters
Type |
Name |
Description |
System.Exception |
exception |
|
|
Improve this Doc
View Source
LogError(Exception, ErrorMessage)
Declaration
public static void LogError(Exception exception, ErrorMessage message)
Parameters
Type |
Name |
Description |
System.Exception |
exception |
|
ErrorMessage |
message |
|
|
Improve this Doc
View Source
LogError(Exception, ErrorMessage, Object[])
Declaration
public static void LogError(Exception exception, ErrorMessage message, params object[] args)
Parameters
Type |
Name |
Description |
System.Exception |
exception |
|
ErrorMessage |
message |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
LogError(Exception, String)
Declaration
public static void LogError(Exception exception, string message)
Parameters
Type |
Name |
Description |
System.Exception |
exception |
|
System.String |
message |
|
|
Improve this Doc
View Source
LogError(Exception, String, Object[])
Declaration
public static void LogError(Exception exception, string messageFormat, params object[] args)
Parameters
Type |
Name |
Description |
System.Exception |
exception |
|
System.String |
messageFormat |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
LogError(String)
Declaration
public static void LogError(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
|
Improve this Doc
View Source
LogError(String, Object[])
Declaration
public static void LogError(string messageFormat, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
messageFormat |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
LogEvent(DiagnosticMessage)
Declaration
public static void LogEvent(DiagnosticMessage message)
Parameters
|
Improve this Doc
View Source
LogEvent(DiagnosticMessage, Object[])
Declaration
public static void LogEvent(DiagnosticMessage message, params object[] args)
Parameters
|
Improve this Doc
View Source
Declaration
public static void LogInformation(InformationMessage message)
Parameters
|
Improve this Doc
View Source
Declaration
public static void LogInformation(InformationMessage message, params object[] args)
Parameters
|
Improve this Doc
View Source
Declaration
public static void LogInformation(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
|
Improve this Doc
View Source
Declaration
public static void LogInformation(string messageFormat, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
messageFormat |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
LogWarning(WarningMessage)
Declaration
public static void LogWarning(WarningMessage message)
Parameters
|
Improve this Doc
View Source
LogWarning(WarningMessage, Object[])
Declaration
public static void LogWarning(WarningMessage message, params object[] args)
Parameters
|
Improve this Doc
View Source
LogWarning(String)
Declaration
public static void LogWarning(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
|
Improve this Doc
View Source
LogWarning(String, Object[])
Declaration
public static void LogWarning(string messageFormat, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
messageFormat |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
SetLogger(ILogger)
Sets an ILogger instance into the class.
Declaration
public static void SetLogger(ILogger logger)
Parameters