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... | |
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.
[out] | ios | the iostream to output the log too |
[in] | logBuffer | the binary log buffer to output |
Definition at line 30 of file logStdFormat.hpp.
iosT& flatlogs::minFormat | ( | iosT & | ios, |
bufferPtrT & | logBuffer | ||
) |
Worker function that formats a log into the standard text representation.
[out] | ios | the iostream to output the log too |
[in] | logBuffer | the binary log buffer to output |
Definition at line 125 of file logStdFormat.hpp.
iosT& flatlogs::stdFormat | ( | iosT & | ios, |
bufferPtrT & | logBuffer | ||
) |
Worker function that formats a log into the standard text representation.
[out] | ios | the iostream to output the log too |
[in] | logBuffer | the binary log buffer to output |
Definition at line 60 of file logStdFormat.hpp.
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.
[out] | ios | the iostream to output the log to |
[in] | logBuffer | the binary log buffer to output |
Definition at line 82 of file logStdFormat.hpp.