API

Standard formating of log entries for readable output. More...

#include "flatbuffers/flatbuffers.h"
#include "flatbuffers/minireflect.h"
#include "logHeader.hpp"
#include "logPriority.hpp"
Include dependency graph for logStdFormat.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 flatlogs
 

Functions

template<typename logT , typename iosT >
iosT & flatlogs::jsonFormat (iosT &ios, bufferPtrT &logBuffer, const std::string &eventCodeName, const uint8_t *binarySchema, const unsigned int binarySchemaLength)
 Function for generate a JSON-formatted text representation of a flatlog record. More...
 
template<typename logT , typename iosT >
iosT & flatlogs::stdFormat (iosT &ios, bufferPtrT &logBuffer)
 Worker function that formats a log into the standard text representation. More...
 
template<typename logT , typename iosT >
iosT & flatlogs::stdShortFormat (iosT &ios, const std::string &appName, bufferPtrT &logBuffer)
 Worker function that formats a log into the standard text representation with short timespec. More...
 
template<typename logT , typename iosT >
iosT & flatlogs::minFormat (iosT &ios, bufferPtrT &logBuffer)
 Worker function that formats a log into the standard text representation. More...
 

Detailed Description

Standard formating of log entries for readable output.

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

History:

  • 2017-12-24 created by JRM
  • 2018-08-18 moved to flatlogs

Definition in file logStdFormat.hpp.