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

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 task

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 task

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 task

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