2#include "../../../../tests/catch2/catch.hpp"
3#include "../generated/logCodes.hpp"
4#include "../types/loop_paused.hpp"
5#include "../types/flatbuffer_log.hpp"
65 flatlogs::logHeader::createLog<MagAOX::logger::loop_paused>(logBuffer
73SCENARIO(
"Create loop_paused 0",
"[a log item]")
75 GIVEN(
"a loop_paused log code")
77 WHEN(
"random values for fields")
bool verify(const typename MagAOX::logger::loop_paused::messageT &msg)
int8_t logPrioT
The type of the log priority code.
std::shared_ptr< char > bufferPtrT
The log entry buffer smart pointer.
Empty type for resolving logs with no message.
SCENARIO("Create loop_paused 0", "[a log item]")
static constexpr logPrioT LOG_DEFAULT
Used to denote "use the default level for this log type".
emptyMessage messageT
The type of the message.
static flatlogs::msgLenT length(const messageT &msg)
Get the length of the message.
static bool verify(flatlogs::bufferPtrT &logBuff, flatlogs::msgLenT len)
A fixed-width timespec structure.