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
string source

The source.

string message

The message.

View Source

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.

View Source

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.

View Source

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.

View Source

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.

View Source

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.

  • View Source
In this article
Back to top Copyright © DNV AS. All rights reserved.