LogIt++
Header-only, macro-first C++ logging library
Loading...
Searching...
No Matches
MdbxKeyUtils.hpp File Reference

Key encoding helpers for MdbxLogger record ordering. More...

#include <cstdint>
#include <string>
#include <limits>

Go to the source code of this file.

Namespaces

namespace  logit
 The primary namespace for the LogIt++ library.
 
namespace  logit::detail
 

Macros

#define LOGIT_CPP_HEADER_LOGIT_CPP_LOGIT_DETAIL_MDBXKEYUTILS_HPP_INCLUDED
 

Functions

void logit::detail::mdbx_write_record_key_be (std::string &key, uint64_t value, size_t offset)
 
void logit::detail::mdbx_write_record_sequence_be (std::string &key, uint32_t value, size_t offset)
 
std::string logit::detail::make_mdbx_record_key (int64_t timestamp_ms, uint32_t sequence)
 

Detailed Description

Key encoding helpers for MdbxLogger record ordering.

Definition in file MdbxKeyUtils.hpp.

Macro Definition Documentation

◆ LOGIT_CPP_HEADER_LOGIT_CPP_LOGIT_DETAIL_MDBXKEYUTILS_HPP_INCLUDED

#define LOGIT_CPP_HEADER_LOGIT_CPP_LOGIT_DETAIL_MDBXKEYUTILS_HPP_INCLUDED

Definition at line 3 of file MdbxKeyUtils.hpp.