Table of Contents

Class RotatingLogPolicy

Namespace
Sisk.Core.Http
Assembly
Sisk.Core.dll

Provides a managed utility for rotating log files by their file size.

public sealed class RotatingLogPolicy : IDisposable
Inheritance
RotatingLogPolicy
Implements
Inherited Members

Constructors

RotatingLogPolicy(LogStream)

Creates an new RotatingLogPolicy instance with the given LogStream object to watch.

Properties

Due

Gets the time interval between checks.

MaximumSize

Gets the file size threshold in bytes for when the file will be compressed and then cleared.

Methods

Configure(long, TimeSpan)

Defines the time interval and size threshold for starting the task, and then starts the task.

Dispose()