Loading...
Searching...
No Matches
by::consoleStream Class Reference

Console output stream for logging to standard output. More...

#include <consoleStream.hpp>

Inheritance diagram for by::consoleStream:
by::stream

Public Member Functions

const std::string & getName () const override
 
nbool logBypass (const nchar *msg) 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.
 

Detailed Description

Console output stream for logging to standard output.

Implements stream interface to output log messages directly to the console/terminal with appropriate formatting.

Member Function Documentation

◆ getName()

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

Implements by::stream.

◆ logBypass()

nbool by::consoleStream::logBypass ( const nchar * message)
overridevirtual

Log message directly without formatting.

Returns
true on success, false on error

Reimplemented from by::stream.


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