Show / Hide Table of Contents

Interface ILogger

Logger interface.

Namespace: DNVGL.One.Compute.Core.ServiceContracts
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public interface ILogger

Methods

View Source

LogError(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.

View Source

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 .

View Source

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.

View Source

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 .

View Source

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.

View Source

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 .

  • View Source
Back to top Copyright © DNV GL AS. All rights reserved.