class MessageBuffer
Represents a message entry in our list of log messages.
File location: framework/cauldron/framework/inc/misc/log.h
Construction
Return type |
Description |
---|---|
MessageBuffer initialization.
|
|
MessageBuffer (size_t length, LogLevel level, time_t t)
MessageBuffer initialization. Creates with a specified length, level, and time-stamp.
|
|
MessageBuffer (MessageBuffer& other)
MessageBuffer copy constructor.
|
|
MessageBuffer (MessageBuffer&& other)
|
Methods
Return type |
Description |
---|---|
MessageBuffer& |
operator = (MessageBuffer& other)
|
MessageBuffer& |
operator = (MessageBuffer&& other)
MessageBuffer move operator.
|
LogLevel |
Level () const
Returns the “LogLevel“ of the message buffer.
|
time_t |
Time () const
Returns the time stamp of the message buffer.
|
wchar_t* |
Data ()
Returns the message data of the message buffer.
|
const wchar_t* |
Data () const
|
Detailed description
Represents a message entry in our list of log messages.
Construction
MessageBuffer
MessageBuffer initialization.
MessageBuffer
MessageBuffer initialization. Creates with a specified length, level, and time-stamp.
MessageBuffer
MessageBuffer copy constructor.
Methods
operator=
MessageBuffer move operator.
Level
Returns the LogLevel
of the message buffer.
Time
Returns the time stamp of the message buffer.
Data
Returns the message data of the message buffer.