Log file stream type.
More...
#include <FileLogStream.hpp>
|
| | FileLogStream (const std::string &_fileFullPath="Logs/log.txt") noexcept |
| |
| | ~FileLogStream () noexcept |
| |
| void | Flush () override final |
| | Force the stream to flush.
|
| |
|
virtual | ~ALogStream ()=default |
| | Default virtual destructor.
|
| |
| void | ProcessLog (const Log &_log, bool _bForce=false) |
| | Process a log to output in stream.
|
| |
| ALogStream & | operator<< (const Log &_log) |
| | Output log operator.
|
| |
|
| void | CreateLogFile (const std::string &_fileFullPath) |
| | Create log and log backup files.
|
| |
| void | Output (const Log &_log) override final |
| | Output a log in stream.
|
| |
|
|
std::wofstream | mHandle |
| | Handled file stream.
|
| |
◆ FileLogStream()
| SA::FileLogStream::FileLogStream |
( |
const std::string & | _fileFullPath = "Logs/log.txt" | ) |
|
|
noexcept |
Value Constructor
- Parameters
-
| [in] | _fileFullPath | Name and path of the file. |
◆ ~FileLogStream()
| SA::FileLogStream::~FileLogStream |
( |
| ) |
|
|
noexcept |
Destructor. Close the file stream.
◆ CreateLogFile()
| void SA::FileLogStream::CreateLogFile |
( |
const std::string & | _fileFullPath | ) |
|
|
protected |
Create log and log backup files.
- Parameters
-
| [in] | _fileFullPath | Name and path of the log file. |
◆ Flush()
| void SA::FileLogStream::Flush |
( |
| ) |
|
|
finaloverridevirtual |
◆ Output()
| void SA::FileLogStream::Output |
( |
const Log & | _log | ) |
|
|
finaloverrideprotectedvirtual |
The documentation for this class was generated from the following file: