Свойство | Type | Description | |
---|---|---|---|
TheFactory | IFileAppenderFactory |
Méthode | Description | |
---|---|---|
Close ( ) : void |
Closes this instance.
|
|
Flush ( ) : void |
Flushes this instance.
|
|
GetFileCreationTimeUtc ( ) : DateTime? |
Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal Time [UTC] standard.
|
|
GetFileLastWriteTimeUtc ( ) : DateTime? |
Gets the last time the file associated with the appeander is written. The time returned is in Coordinated Universal Time [UTC] standard.
|
|
GetFileLength ( ) : long? |
Gets the length in bytes of the file associated with the appeander.
|
|
MutexMultiProcessFileAppender ( string fileName, ICreateFileParameters parameters ) : NLog.Common |
Initializes a new instance of the MutexMultiProcessFileAppender class.
|
|
Write ( byte bytes ) : void |
Writes the specified bytes.
|
Méthode | Description | |
---|---|---|
CreateArchiveMutex ( ) : |
Creates a mutually-exclusive lock for archiving files.
|
Méthode | Description | |
---|---|---|
GetFileCharacteristics ( ) : FileCharacteristics |
protected CreateArchiveMutex ( ) : |
||
Résultat |
public GetFileCreationTimeUtc ( ) : DateTime? | ||
Résultat | DateTime? |
public GetFileLastWriteTimeUtc ( ) : DateTime? | ||
Résultat | DateTime? |
public MutexMultiProcessFileAppender ( string fileName, ICreateFileParameters parameters ) : NLog.Common | ||
fileName | string | Name of the file. |
parameters | ICreateFileParameters | The parameters. |
Résultat | NLog.Common |
public Write ( byte bytes ) : void | ||
bytes | byte | The bytes to be written. |
Résultat | void |