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::scope< Args > Class Template Reference

Represents a logging scope. More...

#include <log_scope.h>

Inheritance diagram for docwire::log::scope< Args >:

Public Types

using base = std::conditional_t< detail::is_debug_build||detail::should_log_in_release< Args... >(), detail::scope< Args... >, detail::empty_scope >
 

Public Member Functions

 scope (const Args &... args, const source_location &location=source_location::current()) noexcept
 

Detailed Description

template<typename... Args>
class docwire::log::scope< Args >

Represents a logging scope.

In debug builds (or if logging is enabled), this logs entry and exit of the scope. In release builds, it may compile to a no-op depending on configuration.

Definition at line 84 of file log_scope.h.


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