Interface ILogger
Logger interface.
Namespace: DNVGL.One.Compute.Core.ServiceContracts
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public interface ILogger
Methods
View SourceLogError(String, String)
Logs the error.
Declaration
void LogError(string source, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | The source. |
System.String | message | The message. |
LogErrorAsync(String, String)
Logs the error.
Declaration
Task LogErrorAsync(string source, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | The source. |
System.String | message | The message. |
Returns
Type | Description |
---|---|
Task | Asynchronous |
LogInformation(String, String)
Logs the information.
Declaration
void LogInformation(string source, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | The source. |
System.String | message | The message. |
LogInformationAsync(String, String)
Logs the information.
Declaration
Task LogInformationAsync(string source, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | The source. |
System.String | message | The message. |
Returns
Type | Description |
---|---|
Task | Asynchronous |
LogWarning(String, String)
Logs the warning.
Declaration
void LogWarning(string source, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | The source. |
System.String | message | The message. |
LogWarningAsync(String, String)
Logs the warning.
Declaration
Task LogWarningAsync(string source, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | The source. |
System.String | message | The message. |
Returns
Type | Description |
---|---|
Task | Asynchronous |