by::fileLogStream Class Reference

File output stream for logging to disk files. More...

#include <fileLogStream.hpp>

Inheritance diagram for by::fileLogStream:
by::stream

Public Member Functions

 fileLogStream (const std::string &new_path)
 
nbool setPath (const std::string &new_path)
 
const std::string & getPath () const
 
const std::string & getName () const override
 
nbool logBypass (const nchar *message) override
 
- Public Member Functions inherited from by::stream
 stream (nbool isEnable=true)
 
nbool logBypass (const std::string &message)
 
nbool isNull () const
 
virtual nbool isEnable () const
 
virtual void setEnable (nbool isEnable)
 
virtual nbool init ()
 
virtual nbool isInit () const
 
virtual nbool rel ()
 

Detailed Description

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.

Member Function Documentation

◆ getName()

const std::string & by::fileLogStream::getName ( ) const
overridevirtual

Implements by::stream.

◆ logBypass()

nbool by::fileLogStream::logBypass ( const nchar *  message)
overridevirtual
Returns
true means an error.

Reimplemented from by::stream.


The documentation for this class was generated from the following file: