numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Class to incorporate logging in algorithms. More...
#include <num_collect/logging/logging_mixin.h>
Public Member Functions | |
logging_mixin (log_tag_view tag) | |
Constructor. | |
template<typename Child > | |
void | configure_child_algorithm_logger_if_exists (Child &child) |
Configure a logger of a child algorithm if exists. | |
auto | logger () const noexcept -> const num_collect::logging::logger & |
Access to the logger. | |
auto | logger () noexcept -> num_collect::logging::logger & |
Access to the logger. | |
Private Attributes | |
num_collect::logging::logger | logger_ |
Logger. | |
Class to incorporate logging in algorithms.
Inherit this class to use logger with the common interface.
Definition at line 32 of file logging_mixin.h.
|
inlineexplicit |
|
inline |
Configure a logger of a child algorithm if exists.
Child | Type of the child algorithm. |
[in] | child | Child algorithm. |
Definition at line 67 of file logging_mixin.h.
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
private |
Logger.
Definition at line 75 of file logging_mixin.h.