Aspose::Email::Tools::Logging::FileAppender::FileAppenderWorker Class Reference

Inherits Object.

Public Member Functions

System::String get_FileName () const
 
System::DateTime get_LastWriteTime () const
 
System::DateTime get_OpenTime () const
 
 FileAppenderWorker (System::String fileName)
 
virtual void Write (System::ArrayPtr< uint8_t > bytes)
 
virtual void Flush ()
 
virtual void Close ()
 

Protected Member Functions

void FileTouched ()
 
void FileTouched (System::DateTime dt)
 
System::SharedPtr< System::IO::FileStream > CreateFileStream (bool allowConcurrentWrite)
 

Constructor & Destructor Documentation

◆ FileAppenderWorker()

Aspose::Email::Tools::Logging::FileAppender::FileAppenderWorker::FileAppenderWorker ( System::String  fileName)

Member Function Documentation

◆ Close()

virtual void Aspose::Email::Tools::Logging::FileAppender::FileAppenderWorker::Close ( )
virtual

◆ CreateFileStream()

System::SharedPtr<System::IO::FileStream> Aspose::Email::Tools::Logging::FileAppender::FileAppenderWorker::CreateFileStream ( bool  allowConcurrentWrite)
protected

◆ FileTouched() [1/2]

void Aspose::Email::Tools::Logging::FileAppender::FileAppenderWorker::FileTouched ( )
protected

◆ FileTouched() [2/2]

void Aspose::Email::Tools::Logging::FileAppender::FileAppenderWorker::FileTouched ( System::DateTime  dt)
protected

◆ Flush()

virtual void Aspose::Email::Tools::Logging::FileAppender::FileAppenderWorker::Flush ( )
virtual

◆ get_FileName()

System::String Aspose::Email::Tools::Logging::FileAppender::FileAppenderWorker::get_FileName ( ) const

◆ get_LastWriteTime()

System::DateTime Aspose::Email::Tools::Logging::FileAppender::FileAppenderWorker::get_LastWriteTime ( ) const

◆ get_OpenTime()

System::DateTime Aspose::Email::Tools::Logging::FileAppender::FileAppenderWorker::get_OpenTime ( ) const

◆ Write()

virtual void Aspose::Email::Tools::Logging::FileAppender::FileAppenderWorker::Write ( System::ArrayPtr< uint8_t >  bytes)
virtual