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

Copied!

MessageBuffer ()

MessageBuffer initialization.


MessageBuffer

Copied!

MessageBuffer (size_t length, LogLevel  level, time_t t)

MessageBuffer initialization. Creates with a specified length, level, and time-stamp.


MessageBuffer

Copied!

MessageBuffer (MessageBuffer& other)

MessageBuffer copy constructor.


Methods

operator=

Copied!

MessageBuffer& operator =  (MessageBuffer&& other)

MessageBuffer move operator.


Level

Copied!

LogLevel  Level () const

Returns the LogLevel of the message buffer.


Time

Copied!

time_t Time () const

Returns the time stamp of the message buffer.


Data

Copied!

wchar_t* Data ()

Returns the message data of the message buffer.