struct logger::gather_holder
Declaration
struct logger::gather_holder : public message { /* full declaration omitted */ };Description
Optimizes the formatting for prepending and/or appending strings to the original message
It keeps all the modified message in one string. Useful if some formatter needs to access the whole string at once. reserve() - the size that is reserved for prepending (similar to string::reserve function) Note : as strings are prepended, reserve() shrinks.
Declared at: libs/pika/logging/include/pika/logging/detail/logger.hpp:84
Inherits from: message
Method Overview
- public gather_holder(pika::util::logging::logger & p_this)
- public ~gather_holder()
Inherited from message:
Methods
gather_holder(pika::util::logging::logger& p_this)
gather_holder(pika::util::logging::logger& p_this)Declared at: libs/pika/logging/include/pika/logging/detail/logger.hpp:88
Parameters
- pika::util::logging::logger& p_this
~gather_holder()
~gather_holder()Declared at: libs/pika/logging/include/pika/logging/detail/logger.hpp:93