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

File output stream for logging to disk files 더 자세히 ...

#include <fileLogStream.hpp>

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

Public 멤버 함수

 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
 
- by::stream(으)로부터 상속된 Public 멤버 함수
 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.

멤버 함수 문서화

◆ getName()

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

by::stream를 구현.

◆ logBypass()

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

Log message directly without formatting

반환값
true on success, false on error

by::stream(으)로부터 재구현되었습니다.

◆ setPath()

nbool by::fileLogStream::setPath ( const std::string & new_path)

Sets the path for the log file and attempts to open it.

매개변수
new_pathThe new path for the log file.
반환값
true if the file was successfully opened or the path was set, false otherwise.

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