[
https://issues.apache.org/jira/browse/IGNITE-28368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eduard Rakhmankulov updated IGNITE-28368:
-----------------------------------------
Description:
1. New logger infrastructure.
Currently complex logging message requires a lot of string concatination which
is painful in C++, as required to call std::to_string(...) and similar
function. Let improve user experience either introducing C++ style
(stream-style) logger:
```
m_logger->debug() << "Prefix. data=" << data << " ; " << "importantVar=" <<
importantVar << m_logger->endAnchor();
```
or adopt fmt library.
2. Allow users to provide logger configuration in some form, which can be used
for filtering information which is not required for them.
was:Allow users to provide logger configuration in some form, which can be
used for filtering information which is not required for them.
> C++ 3.0: Improvents to logging.
> -------------------------------
>
> Key: IGNITE-28368
> URL: https://issues.apache.org/jira/browse/IGNITE-28368
> Project: Ignite
> Issue Type: Improvement
> Components: thin clients ai3
> Reporter: Eduard Rakhmankulov
> Priority: Major
> Labels: ignite-3
>
> 1. New logger infrastructure.
> Currently complex logging message requires a lot of string concatination
> which is painful in C++, as required to call std::to_string(...) and similar
> function. Let improve user experience either introducing C++ style
> (stream-style) logger:
> ```
> m_logger->debug() << "Prefix. data=" << data << " ; " << "importantVar=" <<
> importantVar << m_logger->endAnchor();
> ```
> or adopt fmt library.
>
> 2. Allow users to provide logger configuration in some form, which can be
> used for filtering information which is not required for them.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)