CppTrail
Loading...
Searching...
No Matches
CppTrail::BasicMessageImpl< char_t > Class Template Referenceabstract

Abstract base class for message implementations. More...

#include <message.h>

Public Types

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

virtual string_type stealString ()=0
 Returns the string message to log.
 

Detailed Description

template<typename char_t>
class CppTrail::BasicMessageImpl< char_t >

Abstract base class for message implementations.

Template Parameters
char_tThe character type (char, char8_t, char16_t, char32_t).

Member Function Documentation

◆ stealString()

template<typename char_t >
virtual string_type CppTrail::BasicMessageImpl< char_t >::stealString ( )
pure virtual

Returns the string message to log.

Returns
The message as a string.
Note
The implementations enters a non defined state after this call.

The documentation for this class was generated from the following file: