#pragma once #include "priority.h" #include #include #include #include struct TLogRecord { using TMetaFlags = TVector>; const char* Data; size_t Len; ELogPriority Priority; TMetaFlags MetaFlags; inline TLogRecord(ELogPriority priority, const char* data, size_t len, TMetaFlags metaFlags = {}) noexcept : Data(data) , Len(len) , Priority(priority) , MetaFlags(std::move(metaFlags)) { } };