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 |
|---|---|---|
| string | source | The source. |
| string | message | The message. |
LogErrorAsync(string, string)
Logs the error.
Declaration
Task LogErrorAsync(string source, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | source | The source. |
| string | message | The message. |
Returns
| Type | Description |
|---|---|
| Task | Asynchronous Task. |
LogInformation(string, string)
Logs the information.
Declaration
void LogInformation(string source, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | source | The source. |
| string | message | The message. |
LogInformationAsync(string, string)
Logs the information.
Declaration
Task LogInformationAsync(string source, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | source | The source. |
| string | message | The message. |
Returns
| Type | Description |
|---|---|
| Task | Asynchronous Task. |
LogWarning(string, string)
Logs the warning.
Declaration
void LogWarning(string source, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | source | The source. |
| string | message | The message. |
LogWarningAsync(string, string)
Logs the warning.
Declaration
Task LogWarningAsync(string source, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | source | The source. |
| string | message | The message. |
Returns
| Type | Description |
|---|---|
| Task | Asynchronous Task. |