Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCFileHandleDiagHandler.html below:
NCBI C++ ToolKit: CFileHandleDiagHandler Class Reference
Public Member Functions CFileHandleDiagHandler (const string &fname, EDiagFileType file_type=eDiagFile_All) Constructor. More...
~CFileHandleDiagHandler (void) Close file handle. More...
virtual void Post (const SDiagMessage &mess) Post message to the handler. More...
virtual bool AllowAsyncWrite (const SDiagMessage &msg) const Check if the handler supports async writes. More...
virtual string ComposeMessage (const SDiagMessage &msg, EDiagFileType *file_type) const Compose message without writing it. More...
virtual void WriteMessage (const char *buf, size_t len, EDiagFileType file_type) Write string to the log. More...
bool Valid (void) virtual void Reopen (TReopenFlags flags) Reopen file to enable log rotation. More...
Public Member Functions inherited from CStreamDiagHandler_Base CStreamDiagHandler_Base (void) virtual string GetLogName (void) Get current diag posts destination. More...
virtual CNcbiOstream * GetStream (void) Public Member Functions inherited from CDiagHandler virtual ~CDiagHandler (void) Destructor. More...
virtual void PostToConsole (const SDiagMessage &mess) Post message to console regardless of its severity. More...
CFileHandleDiagHandler –.
Specialization of "CDiagHandler" for the file-handle based diagnostics. Writes messages using system write rather than stream to make the operation really atomic. Re-opens file periodically to make rotation possible.
Definition at line 2645 of file ncbidiag.hpp.
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4