API

The flatlogs buffer header format. More...

#include <memory>
#include "logDefs.hpp"
#include "timespecX.hpp"
#include "logPriority.hpp"
Include dependency graph for logHeader.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  flatlogs::logHeader
 The log entry header. More...
 
struct  flatlogs::logHeader::internal_logHeader
 
union  flatlogs::logHeader::internal_logHeader.__unnamed4__
 

Namespaces

 flatlogs
 

Typedefs

typedef std::shared_ptr< char > flatlogs::bufferPtrT
 The log entry buffer smart pointer. More...
 

Detailed Description

The flatlogs buffer header format.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

History:

  • 2017-08-29 created by JRM
  • 2018-08-17 moved to flatlogs

Definition in file logHeader.hpp.


Class Documentation

◆ flatlogs::logHeader::internal_logHeader

struct flatlogs::logHeader::internal_logHeader

Definition at line 94 of file logHeader.hpp.

Collaboration diagram for flatlogs::logHeader::internal_logHeader:
Collaboration graph
Class Members
union internal_logHeader __unnamed__
eventCodeT m_eventCode
logPrioT m_logLevel
timespecX m_timespecX
msgLen0T msgLen0 The short message length. Always present.

◆ flatlogs::logHeader::internal_logHeader.__unnamed4__

union flatlogs::logHeader::internal_logHeader.__unnamed4__

Definition at line 100 of file logHeader.hpp.

Collaboration diagram for flatlogs::logHeader::internal_logHeader.__unnamed4__:
Collaboration graph
Class Members
msgLen1T msgLen1 The intermediate message length. Only present if msgLen0 == max-1 of msgLen0T.
msgLen2T msgLen2 The long message length. Only present if msgLen1 == max-value of msgLen0T.