Log argument reference holder. More...
#include <kanzi/core/log/log_argument_type_eraser.hpp>
Public Member Functions | |
template<typename T > | |
LogArgumentTypeEraser (const T &value) | |
Determines function being used to convert void argument value pointer to string. More... | |
string | convert (string_view formatString) const |
Converts the argument value to string according to the supplied format string. More... | |
Log argument reference holder.
Keeps void pointer to log format argument and pointer to the function used to convert the pointer to string. Template function being used for conversion is deduced from type of the argument.
|
inlineexplicit |
Determines function being used to convert void argument value pointer to string.
|
inline |
Converts the argument value to string according to the supplied format string.
formatString | The format string. |