Interface ILogger
Logger interface
Namespace: DNVGL.One.Compute.Core.ServiceContracts
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public interface ILogger
Methods
View SourceLogErrorAsync(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 task |
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 task |
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 task |