C# Class WebApplications.Utilities.Logging.Loggers.FileLogger.LogFile

Inheritance: IDisposable
Mostra file Open project: webappsuk/CoreLibraries

Public Properties

Property Type Description
Start System.DateTime
Style LogFileStyle

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

LogFile ( [ fileStream, [ fileName, [ format, System.DateTime start ) : System

Initializes a new instance of the LogFile class.

Private Methods

Method Description
FlushAsync ( CancellationToken token = default(CancellationToken) ) : Task
LogFile ( ) : System
Write ( [ log, CancellationToken token = default(CancellationToken) ) : Task
WriteLine ( [ text, CancellationToken token = default(CancellationToken) ) : Task

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

LogFile() public method

Initializes a new instance of the LogFile class.
public LogFile ( [ fileStream, [ fileName, [ format, System.DateTime start ) : System
fileStream [ The file stream.
fileName [ Name of the file.
format [ The format.
start System.DateTime The start.
return System

Property Details

Start public_oe property

public DateTime,System Start
return System.DateTime

Style public_oe property

public LogFileStyle Style
return LogFileStyle