Show / Hide Table of Contents

Class TraceLogger

Implementation of the One Compute interface that logs to .

Inheritance
System.Object
TraceLogger
Namespace: DNVGL.One.Compute.Scheduling.Orchestrator
Assembly: DNVGL.One.Compute.Scheduling.dll
Syntax
public class TraceLogger : ILogger

Constructors

View Source

TraceLogger(String)

Initializes a new instance of the TraceLogger class.

Declaration
public TraceLogger(string source)
Parameters
Type Name Description
System.String source

The source.

Properties

View Source

LoggingSource

Gets the logging source.

Declaration
public string LoggingSource { get; }
Property Value
Type Description
System.String

Methods

View Source

LogError(String)

Logs the error.

Declaration
public void LogError(string message)
Parameters
Type Name Description
System.String message

The message.

View Source

LogErrorAsync(String)

Logs the error.

Declaration
public async Task LogErrorAsync(string message)
Parameters
Type Name Description
System.String message

The message.

Returns
Type Description
Task

Asynchronous task.

View Source

LogInformation(String)

Logs the information.

Declaration
public void LogInformation(string message)
Parameters
Type Name Description
System.String message

The message.

View Source

LogInformationAsync(String)

Logs the information.

Declaration
public async Task LogInformationAsync(string message)
Parameters
Type Name Description
System.String message

The message.

Returns
Type Description
Task

Asynchronous task.

View Source

LogWarning(String)

Logs the warning.

Declaration
public void LogWarning(string message)
Parameters
Type Name Description
System.String message

The message.

View Source

LogWarningAsync(String)

Logs the warning.

Declaration
public async Task LogWarningAsync(string message)
Parameters
Type Name Description
System.String message

The message.

Returns
Type Description
Task

Asynchronous task.

  • View Source
In This Article
Back to top Copyright © DNV AS. All rights reserved.