RollingFileAppender IDateTime Interface | Apache log4net™ SDK Documentation

This interface is used to supply Date/Time information to the RollingFileAppender.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public interface IDateTime

    Public Interface IDateTime

    public interface class IDateTime

    type IDateTime =  interface end

The RollingFileAppender
IDateTime type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| Now | Gets the current time.

Top
Remarks

This interface is used to supply Date/Time information to the RollingFileAppender. Used primarily to allow test classes to plug themselves in so they can supply test date/times.
See Also

#### Reference

log4net.Appender Namespace