로딩중...
검색중...
일치하는것 없음
by::stream 클래스 참조abstract

Base class for all logging output streams 더 자세히 ...

#include <stream.hpp>

by::stream에 대한 상속 다이어그램 :
by::consoleStream by::fileLogStream by::logger

Public 멤버 함수

 stream (nbool isEnable=true)
 
virtual nbool logBypass (const nchar *message)
 Log message directly without formatting
 
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 const std::string & getName () const =0
 
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.
 

상세한 설명

Base class for all logging output streams

Provides the fundamental interface for logging destinations such as console output, file output, or network logging.

멤버 함수 문서화

◆ init()

virtual nbool by::stream::init ( )
virtual

Initializes the stream, transitioning its state from RELEASED to INITIALIZED.

반환값
true on successful initialization, false otherwise (e.g., already initialized).

◆ isNull()

nbool by::stream::isNull ( ) const

Checks if this stream is a null object.

반환값
true if the stream is a null object, false otherwise.

◆ logBypass()

virtual nbool by::stream::logBypass ( const nchar * message)
virtual

Log message directly without formatting

반환값
true on success, false on error

by::logger, by::fileLogStream, by::consoleStream에서 재구현되었습니다.

◆ rel()

virtual nbool by::stream::rel ( )
virtual

Releases the stream's resources, transitioning its state from INITIALIZED to RELEASED.

반환값
true on successful release, false otherwise.

이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: