Table of Contents

Class LoggingLifeCycle

Namespace
Innova.Prism.Infrastructure.Logging
Assembly
Innova.Prism.Infrastructure.dll

Represents the lifecycle of the logging service.

public class LoggingLifeCycle : IServiceLifecycle
Inheritance
LoggingLifeCycle
Implements

Constructors

LoggingLifeCycle(ILogger<LoggingLifeCycle>)

Initializes a new instance of the LoggingLifeCycle class.

Properties

StartOrder

Gets the start order of the logging service.

StopOrder

Gets the stop order of the logging service.

Methods

CanStop(CancellationToken)

Determines whether the logging service can be stopped.

Start(CancellationToken)

Starts the logging service.

Stop(CancellationToken)

Stops the logging service.