|
CppTrail
|
Container for log message implementations. More...
#include <message.h>

Public Types | |
| using | impl_type = BasicMessageImpl< char_t > |
| Alias for the implementation type. | |
| using | char_type = char_t |
| Alias for the underlying character type. | |
| using | string_type = std::basic_string< char_type > |
| Alias for the basic_string type associated with this logger's encoding. | |
Public Member Functions | |
| BasicMessage ()=default | |
| Default constructor. | |
| string_type | stealString () |
| Returns the string message to log. | |
| string_type | stealLevel () noexcept |
| Extracts the string representation of the log level. | |
| std::weak_ptr< impl_type > | getImplementation () noexcept |
| Retrieves a weak pointer to the internal implementation. | |
Protected Member Functions | |
| BasicMessage (string_type sLevel, std::shared_ptr< impl_type > pImpl) | |
| Internal constructor for derived message types. | |
Container for log message implementations.
| char_t | The character type. |
|
inlineexplicitprotected |
Internal constructor for derived message types.
| sLevel | The string representation of the log level (e.g., "INFO", "ERROR"). |
| pImpl | Shared pointer to the concrete implementation that manages the message data. |
|
inlinenoexcept |
Retrieves a weak pointer to the internal implementation.
|
inlinenoexcept |
Extracts the string representation of the log level.
|
inline |
Returns the string message to log.