OS  v1.7.5
Documentation
Loading...
Searching...
No Matches
qOS::logger::mem Class Referencefinal

Class that sets the number of bytes to be logged when a pointer is being used after. Example: More...

#include <logger.hpp>

Public Member Functions

 mem (size_t nb)
 Instantiates a memory specifier to logger nb bytes.
 

Detailed Description

Class that sets the number of bytes to be logged when a pointer is being used after. Example:

uint32_t myNumber = 0xAABBCCDD;
logger::out() << logger::mem( sizeof(myNumber ) ) << &myNumber << logger::endl;
Class that sets the number of bytes to be logged when a pointer is being used after....
Definition logger.hpp:151

Constructor & Destructor Documentation

◆ mem()

qOS::logger::mem::mem ( size_t nb)
inlineexplicit

Instantiates a memory specifier to logger nb bytes.

Parameters
[in]nbNumber of bytes to be logged.