File output stream for logging to disk files. More...
#include <fileLogStream.hpp>
Public Member Functions | |
| fileLogStream (const std::string &new_path) | |
| nbool | setPath (const std::string &new_path) |
| Sets the path for the log file and attempts to open it. | |
| const std::string & | getPath () const |
| const std::string & | getName () const override |
| nbool | logBypass (const nchar *message) override |
| Log message directly without formatting. | |
Public Member Functions inherited from by::stream | |
| stream (nbool isEnable=true) | |
| nbool | logBypass (const std::string &message) |
| nbool | isNull () const |
| Checks if this stream is a null object. | |
| virtual nbool | isEnable () const |
| virtual void | setEnable (nbool isEnable) |
| virtual nbool | init () |
| Initializes the stream, transitioning its state from RELEASED to INITIALIZED. | |
| virtual nbool | isInit () const |
| virtual nbool | rel () |
| Releases the stream's resources, transitioning its state from INITIALIZED to RELEASED. | |
File output stream for logging to disk files.
Implements stream interface to write log messages to files with configurable file paths and automatic file management.
|
overridevirtual |
Implements by::stream.
Log message directly without formatting.
Reimplemented from by::stream.
Sets the path for the log file and attempts to open it.
| new_path | The new path for the log file. |