Library: Foundation
Package: Logging
Header: Poco/LogFile.h
This class is used by FileChannel to work with a log file.
Direct Base Classes: LogFileImpl
All Base Classes: LogFileImpl
Member Functions: creationDate, path, size, write
LogFile(
    const std::string & path
);
Creates the LogFile.
~LogFile();
Destroys the LogFile.
 
 Timestamp creationDate() const;
Returns the date and time the log file was created.
 
 const std::string & path() const;
Returns the path given in the constructor.
 
 UInt64 size() const;
Returns the current size in bytes of the log file.
 
 void write(
    const std::string & text
);
Writes the given text to the log file.