DocWire SDK
DocWire SDK: Award-winning modern data processing in C++20. SourceForge Community Choice & Microsoft support. AI-driven processing. Supports nearly 100 data formats, including email boxes and OCR. Boost efficiency in text extraction, web data extraction, data mining, document analysis. Offline processing possible for security and confidentiality
docwire::log::cerr_redirection Class Reference
Inheritance diagram for docwire::log::cerr_redirection:
docwire::with_pimpl< cerr_redirection > docwire::with_pimpl_base

Public Member Functions

 cerr_redirection (const source_location &location=source_location::current())
 Constructs a cerr_redirection object, capturing the source location. More...
 
 cerr_redirection (const cerr_redirection &)=delete
 
cerr_redirectionoperator= (const cerr_redirection &)=delete
 
void redirect ()
 
void restore ()
 

Additional Inherited Members

- Protected Types inherited from docwire::with_pimpl< cerr_redirection >
using impl_type = pimpl_impl< cerr_redirection >
 
- Protected Member Functions inherited from docwire::with_pimpl< cerr_redirection >
impl_typecreate_impl (Args &&... args)
 
 with_pimpl (Args &&... args)
 
 with_pimpl (with_pimpl< cerr_redirection > &&other) noexcept
 
 with_pimpl (std::nullptr_t)
 
with_pimploperator= (with_pimpl &&other) noexcept
 
impl_typeimpl ()
 
const impl_typeimpl () const
 

Detailed Description

Definition at line 26 of file log_cerr_redirection.h.

Constructor & Destructor Documentation

◆ cerr_redirection()

docwire::log::cerr_redirection::cerr_redirection ( const source_location location = source_location::current())
explicit

Constructs a cerr_redirection object, capturing the source location.

Parameters
locationThe source location where the redirection is initiated.

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