MagAO-X
Operations Applications Utilities Source
MagAOX::logger Namespace Reference

Namespaces

 eventCodes
 

Classes

struct  empty_log
 Base class for logs consisting of an empty message. More...
 
struct  emptyMessage
 Empty type for resolving logs with no message. More...
 
struct  fbMessage
 Message type for resolving log messages with a f.b. builder. More...
 
struct  flatbuffer_log
 Base class for logs consisting of a flatbuffer message. More...
 
struct  FLATBUFFERS_FINAL_CLASS
 
struct  fxngen_params
 Log entry recording the build-time git state. More...
 
struct  Fxngen_params_fbBuilder
 
struct  git_state
 Log entry recording the build-time git state. More...
 
struct  Git_state_fbBuilder
 
struct  indidriver_start
 INDI Driver Start log entry. More...
 
struct  indidriver_stop
 INDI Driver Start log entry. More...
 
class  logFileRaw
 A class to manage raw binary log files. More...
 
struct  logManager
 The standard MagAOX log manager, used for both process logs and telemetry streams. More...
 
struct  loop_closed
 Loop Closed event log. More...
 
struct  loop_open
 Loop Open event log. More...
 
struct  loop_paused
 Loop Paused event log. More...
 
struct  pdu_outlet_state
 Application State Change. More...
 
struct  Pdu_outlet_state_fbBuilder
 
struct  software_alert
 Software ALERT log entry. More...
 
struct  software_critical
 Software CRITICAL log entry. More...
 
struct  software_debug
 Software DEBUG log entry. More...
 
struct  software_debug2
 Software DEBUG2 log entry. More...
 
struct  software_emergency
 Software EMERGENCY log entry. More...
 
struct  software_error
 Software ERR log entry. More...
 
struct  software_info
 Software INFO log entry. More...
 
struct  software_log
 Base class for software logs. More...
 
struct  Software_log_fbBuilder
 
struct  software_notice
 Software NOTICE log entry. More...
 
struct  software_warning
 Software WARN log entry. More...
 
struct  state_change
 Application State Change. More...
 
struct  State_change_fbBuilder
 
struct  string_log
 Base class for logs consisting of a string message. More...
 
struct  String_log_fbBuilder
 
struct  text_log
 A simple text log, a string-type log. More...
 
struct  ttmmod_params
 Log entry recording the build-time git state. More...
 
struct  user_log
 User entered log, a string-type log. More...
 

Functions

void logStdFormat (flatlogs::bufferPtrT &buffer)
 
flatbuffers::Offset< Fxngen_params_fb > CreateFxngen_params_fb (flatbuffers::FlatBufferBuilder &_fbb, uint8_t C1outp=0, double C1freq=0.0, double C1vpp=0.0, double C1ofst=0.0, double C1phse=0.0, uint8_t C1wvtp=0, uint8_t C2outp=0, double C2freq=0.0, double C2vpp=0.0, double C2ofst=0.0, double C2phse=0.0, uint8_t C2wvtp=0)
 
const MagAOX::logger::Fxngen_params_fb * GetFxngen_params_fb (const void *buf)
 
const MagAOX::logger::Fxngen_params_fb * GetSizePrefixedFxngen_params_fb (const void *buf)
 
bool VerifyFxngen_params_fbBuffer (flatbuffers::Verifier &verifier)
 
bool VerifySizePrefixedFxngen_params_fbBuffer (flatbuffers::Verifier &verifier)
 
void FinishFxngen_params_fbBuffer (flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< MagAOX::logger::Fxngen_params_fb > root)
 
void FinishSizePrefixedFxngen_params_fbBuffer (flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< MagAOX::logger::Fxngen_params_fb > root)
 
flatbuffers::Offset< Git_state_fb > CreateGit_state_fb (flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< flatbuffers::String > repo=0, flatbuffers::Offset< flatbuffers::String > sha1=0, uint8_t modified=0)
 
flatbuffers::Offset< Git_state_fb > CreateGit_state_fbDirect (flatbuffers::FlatBufferBuilder &_fbb, const char *repo=nullptr, const char *sha1=nullptr, uint8_t modified=0)
 
const MagAOX::logger::Git_state_fb * GetGit_state_fb (const void *buf)
 
const MagAOX::logger::Git_state_fb * GetSizePrefixedGit_state_fb (const void *buf)
 
bool VerifyGit_state_fbBuffer (flatbuffers::Verifier &verifier)
 
bool VerifySizePrefixedGit_state_fbBuffer (flatbuffers::Verifier &verifier)
 
void FinishGit_state_fbBuffer (flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< MagAOX::logger::Git_state_fb > root)
 
void FinishSizePrefixedGit_state_fbBuffer (flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< MagAOX::logger::Git_state_fb > root)
 
flatbuffers::Offset< Pdu_outlet_state_fb > CreatePdu_outlet_state_fb (flatbuffers::FlatBufferBuilder &_fbb, uint8_t outlet=0, uint8_t state=0)
 
const MagAOX::logger::Pdu_outlet_state_fb * GetPdu_outlet_state_fb (const void *buf)
 
const MagAOX::logger::Pdu_outlet_state_fb * GetSizePrefixedPdu_outlet_state_fb (const void *buf)
 
bool VerifyPdu_outlet_state_fbBuffer (flatbuffers::Verifier &verifier)
 
bool VerifySizePrefixedPdu_outlet_state_fbBuffer (flatbuffers::Verifier &verifier)
 
void FinishPdu_outlet_state_fbBuffer (flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< MagAOX::logger::Pdu_outlet_state_fb > root)
 
void FinishSizePrefixedPdu_outlet_state_fbBuffer (flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< MagAOX::logger::Pdu_outlet_state_fb > root)
 
flatbuffers::Offset< Software_log_fb > CreateSoftware_log_fb (flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< flatbuffers::String > file=0, uint32_t line=0, int32_t errnoCode=0, int32_t otherCode=0, flatbuffers::Offset< flatbuffers::String > explanation=0)
 
flatbuffers::Offset< Software_log_fb > CreateSoftware_log_fbDirect (flatbuffers::FlatBufferBuilder &_fbb, const char *file=nullptr, uint32_t line=0, int32_t errnoCode=0, int32_t otherCode=0, const char *explanation=nullptr)
 
const MagAOX::logger::Software_log_fb * GetSoftware_log_fb (const void *buf)
 
const MagAOX::logger::Software_log_fb * GetSizePrefixedSoftware_log_fb (const void *buf)
 
bool VerifySoftware_log_fbBuffer (flatbuffers::Verifier &verifier)
 
bool VerifySizePrefixedSoftware_log_fbBuffer (flatbuffers::Verifier &verifier)
 
void FinishSoftware_log_fbBuffer (flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< MagAOX::logger::Software_log_fb > root)
 
void FinishSizePrefixedSoftware_log_fbBuffer (flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< MagAOX::logger::Software_log_fb > root)
 
flatbuffers::Offset< State_change_fb > CreateState_change_fb (flatbuffers::FlatBufferBuilder &_fbb, int16_t from=0, int16_t to=0)
 
const MagAOX::logger::State_change_fb * GetState_change_fb (const void *buf)
 
const MagAOX::logger::State_change_fb * GetSizePrefixedState_change_fb (const void *buf)
 
bool VerifyState_change_fbBuffer (flatbuffers::Verifier &verifier)
 
bool VerifySizePrefixedState_change_fbBuffer (flatbuffers::Verifier &verifier)
 
void FinishState_change_fbBuffer (flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< MagAOX::logger::State_change_fb > root)
 
void FinishSizePrefixedState_change_fbBuffer (flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< MagAOX::logger::State_change_fb > root)
 
flatbuffers::Offset< String_log_fb > CreateString_log_fb (flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< flatbuffers::String > message=0)
 
flatbuffers::Offset< String_log_fb > CreateString_log_fbDirect (flatbuffers::FlatBufferBuilder &_fbb, const char *message=nullptr)
 
const MagAOX::logger::String_log_fb * GetString_log_fb (const void *buf)
 
const MagAOX::logger::String_log_fb * GetSizePrefixedString_log_fb (const void *buf)
 
bool VerifyString_log_fbBuffer (flatbuffers::Verifier &verifier)
 
bool VerifySizePrefixedString_log_fbBuffer (flatbuffers::Verifier &verifier)
 
void FinishString_log_fbBuffer (flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< MagAOX::logger::String_log_fb > root)
 
void FinishSizePrefixedString_log_fbBuffer (flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< MagAOX::logger::String_log_fb > root)
 

Function Documentation

◆ CreateFxngen_params_fb()

flatbuffers::Offset<Fxngen_params_fb> MagAOX::logger::CreateFxngen_params_fb ( flatbuffers::FlatBufferBuilder &  _fbb,
uint8_t  C1outp = 0,
double  C1freq = 0.0,
double  C1vpp = 0.0,
double  C1ofst = 0.0,
double  C1phse = 0.0,
uint8_t  C1wvtp = 0,
uint8_t  C2outp = 0,
double  C2freq = 0.0,
double  C2vpp = 0.0,
double  C2ofst = 0.0,
double  C2phse = 0.0,
uint8_t  C2wvtp = 0 
)
inline

◆ CreateGit_state_fb()

flatbuffers::Offset<Git_state_fb> MagAOX::logger::CreateGit_state_fb ( flatbuffers::FlatBufferBuilder &  _fbb,
flatbuffers::Offset< flatbuffers::String >  repo = 0,
flatbuffers::Offset< flatbuffers::String >  sha1 = 0,
uint8_t  modified = 0 
)
inline

◆ CreateGit_state_fbDirect()

flatbuffers::Offset<Git_state_fb> MagAOX::logger::CreateGit_state_fbDirect ( flatbuffers::FlatBufferBuilder &  _fbb,
const char *  repo = nullptr,
const char *  sha1 = nullptr,
uint8_t  modified = 0 
)
inline

Definition at line 76 of file git_state_generated.h.

◆ CreatePdu_outlet_state_fb()

flatbuffers::Offset<Pdu_outlet_state_fb> MagAOX::logger::CreatePdu_outlet_state_fb ( flatbuffers::FlatBufferBuilder &  _fbb,
uint8_t  outlet = 0,
uint8_t  state = 0 
)
inline

◆ CreateSoftware_log_fb()

flatbuffers::Offset<Software_log_fb> MagAOX::logger::CreateSoftware_log_fb ( flatbuffers::FlatBufferBuilder &  _fbb,
flatbuffers::Offset< flatbuffers::String >  file = 0,
uint32_t  line = 0,
int32_t  errnoCode = 0,
int32_t  otherCode = 0,
flatbuffers::Offset< flatbuffers::String >  explanation = 0 
)
inline

◆ CreateSoftware_log_fbDirect()

flatbuffers::Offset<Software_log_fb> MagAOX::logger::CreateSoftware_log_fbDirect ( flatbuffers::FlatBufferBuilder &  _fbb,
const char *  file = nullptr,
uint32_t  line = 0,
int32_t  errnoCode = 0,
int32_t  otherCode = 0,
const char *  explanation = nullptr 
)
inline

Definition at line 96 of file software_log_generated.h.

◆ CreateState_change_fb()

flatbuffers::Offset<State_change_fb> MagAOX::logger::CreateState_change_fb ( flatbuffers::FlatBufferBuilder &  _fbb,
int16_t  from = 0,
int16_t  to = 0 
)
inline

◆ CreateString_log_fb()

flatbuffers::Offset<String_log_fb> MagAOX::logger::CreateString_log_fb ( flatbuffers::FlatBufferBuilder &  _fbb,
flatbuffers::Offset< flatbuffers::String >  message = 0 
)
inline

◆ CreateString_log_fbDirect()

flatbuffers::Offset<String_log_fb> MagAOX::logger::CreateString_log_fbDirect ( flatbuffers::FlatBufferBuilder &  _fbb,
const char *  message = nullptr 
)
inline

Definition at line 55 of file string_log_generated.h.

◆ FinishFxngen_params_fbBuffer()

void MagAOX::logger::FinishFxngen_params_fbBuffer ( flatbuffers::FlatBufferBuilder &  fbb,
flatbuffers::Offset< MagAOX::logger::Fxngen_params_fb >  root 
)
inline

Definition at line 182 of file fxngen_params_generated.h.

◆ FinishGit_state_fbBuffer()

void MagAOX::logger::FinishGit_state_fbBuffer ( flatbuffers::FlatBufferBuilder &  fbb,
flatbuffers::Offset< MagAOX::logger::Git_state_fb >  root 
)
inline

Definition at line 106 of file git_state_generated.h.

◆ FinishPdu_outlet_state_fbBuffer()

void MagAOX::logger::FinishPdu_outlet_state_fbBuffer ( flatbuffers::FlatBufferBuilder &  fbb,
flatbuffers::Offset< MagAOX::logger::Pdu_outlet_state_fb >  root 
)
inline

Definition at line 82 of file pdu_outlet_state_generated.h.

◆ FinishSizePrefixedFxngen_params_fbBuffer()

void MagAOX::logger::FinishSizePrefixedFxngen_params_fbBuffer ( flatbuffers::FlatBufferBuilder &  fbb,
flatbuffers::Offset< MagAOX::logger::Fxngen_params_fb >  root 
)
inline

Definition at line 188 of file fxngen_params_generated.h.

◆ FinishSizePrefixedGit_state_fbBuffer()

void MagAOX::logger::FinishSizePrefixedGit_state_fbBuffer ( flatbuffers::FlatBufferBuilder &  fbb,
flatbuffers::Offset< MagAOX::logger::Git_state_fb >  root 
)
inline

Definition at line 112 of file git_state_generated.h.

◆ FinishSizePrefixedPdu_outlet_state_fbBuffer()

void MagAOX::logger::FinishSizePrefixedPdu_outlet_state_fbBuffer ( flatbuffers::FlatBufferBuilder &  fbb,
flatbuffers::Offset< MagAOX::logger::Pdu_outlet_state_fb >  root 
)
inline

Definition at line 88 of file pdu_outlet_state_generated.h.

◆ FinishSizePrefixedSoftware_log_fbBuffer()

void MagAOX::logger::FinishSizePrefixedSoftware_log_fbBuffer ( flatbuffers::FlatBufferBuilder &  fbb,
flatbuffers::Offset< MagAOX::logger::Software_log_fb >  root 
)
inline

Definition at line 136 of file software_log_generated.h.

◆ FinishSizePrefixedState_change_fbBuffer()

void MagAOX::logger::FinishSizePrefixedState_change_fbBuffer ( flatbuffers::FlatBufferBuilder &  fbb,
flatbuffers::Offset< MagAOX::logger::State_change_fb >  root 
)
inline

Definition at line 88 of file state_change_generated.h.

◆ FinishSizePrefixedString_log_fbBuffer()

void MagAOX::logger::FinishSizePrefixedString_log_fbBuffer ( flatbuffers::FlatBufferBuilder &  fbb,
flatbuffers::Offset< MagAOX::logger::String_log_fb >  root 
)
inline

Definition at line 87 of file string_log_generated.h.

◆ FinishSoftware_log_fbBuffer()

void MagAOX::logger::FinishSoftware_log_fbBuffer ( flatbuffers::FlatBufferBuilder &  fbb,
flatbuffers::Offset< MagAOX::logger::Software_log_fb >  root 
)
inline

Definition at line 130 of file software_log_generated.h.

◆ FinishState_change_fbBuffer()

void MagAOX::logger::FinishState_change_fbBuffer ( flatbuffers::FlatBufferBuilder &  fbb,
flatbuffers::Offset< MagAOX::logger::State_change_fb >  root 
)
inline

Definition at line 82 of file state_change_generated.h.

◆ FinishString_log_fbBuffer()

void MagAOX::logger::FinishString_log_fbBuffer ( flatbuffers::FlatBufferBuilder &  fbb,
flatbuffers::Offset< MagAOX::logger::String_log_fb >  root 
)
inline

Definition at line 81 of file string_log_generated.h.

◆ GetFxngen_params_fb()

const MagAOX::logger::Fxngen_params_fb* MagAOX::logger::GetFxngen_params_fb ( const void *  buf)
inline

Definition at line 164 of file fxngen_params_generated.h.

Referenced by MagAOX::logger::fxngen_params::msgString().

◆ GetGit_state_fb()

const MagAOX::logger::Git_state_fb* MagAOX::logger::GetGit_state_fb ( const void *  buf)
inline

◆ GetPdu_outlet_state_fb()

const MagAOX::logger::Pdu_outlet_state_fb* MagAOX::logger::GetPdu_outlet_state_fb ( const void *  buf)
inline

◆ GetSizePrefixedFxngen_params_fb()

const MagAOX::logger::Fxngen_params_fb* MagAOX::logger::GetSizePrefixedFxngen_params_fb ( const void *  buf)
inline

Definition at line 168 of file fxngen_params_generated.h.

◆ GetSizePrefixedGit_state_fb()

const MagAOX::logger::Git_state_fb* MagAOX::logger::GetSizePrefixedGit_state_fb ( const void *  buf)
inline

Definition at line 92 of file git_state_generated.h.

◆ GetSizePrefixedPdu_outlet_state_fb()

const MagAOX::logger::Pdu_outlet_state_fb* MagAOX::logger::GetSizePrefixedPdu_outlet_state_fb ( const void *  buf)
inline

Definition at line 68 of file pdu_outlet_state_generated.h.

◆ GetSizePrefixedSoftware_log_fb()

const MagAOX::logger::Software_log_fb* MagAOX::logger::GetSizePrefixedSoftware_log_fb ( const void *  buf)
inline

Definition at line 116 of file software_log_generated.h.

◆ GetSizePrefixedState_change_fb()

const MagAOX::logger::State_change_fb* MagAOX::logger::GetSizePrefixedState_change_fb ( const void *  buf)
inline

Definition at line 68 of file state_change_generated.h.

◆ GetSizePrefixedString_log_fb()

const MagAOX::logger::String_log_fb* MagAOX::logger::GetSizePrefixedString_log_fb ( const void *  buf)
inline

Definition at line 67 of file string_log_generated.h.

◆ GetSoftware_log_fb()

const MagAOX::logger::Software_log_fb* MagAOX::logger::GetSoftware_log_fb ( const void *  buf)
inline

Definition at line 112 of file software_log_generated.h.

Referenced by MagAOX::logger::software_log::msgString().

◆ GetState_change_fb()

const MagAOX::logger::State_change_fb* MagAOX::logger::GetState_change_fb ( const void *  buf)
inline

Definition at line 64 of file state_change_generated.h.

Referenced by MagAOX::logger::state_change::msgString().

◆ GetString_log_fb()

const MagAOX::logger::String_log_fb* MagAOX::logger::GetString_log_fb ( const void *  buf)
inline

Definition at line 63 of file string_log_generated.h.

Referenced by MagAOX::logger::string_log::msgString().

◆ logStdFormat()

void MagAOX::logger::logStdFormat ( flatlogs::bufferPtrT buffer)
inline

Definition at line 10 of file logStdFormat.hpp.

◆ VerifyFxngen_params_fbBuffer()

bool MagAOX::logger::VerifyFxngen_params_fbBuffer ( flatbuffers::Verifier &  verifier)
inline

Definition at line 172 of file fxngen_params_generated.h.

◆ VerifyGit_state_fbBuffer()

bool MagAOX::logger::VerifyGit_state_fbBuffer ( flatbuffers::Verifier &  verifier)
inline

Definition at line 96 of file git_state_generated.h.

◆ VerifyPdu_outlet_state_fbBuffer()

bool MagAOX::logger::VerifyPdu_outlet_state_fbBuffer ( flatbuffers::Verifier &  verifier)
inline

Definition at line 72 of file pdu_outlet_state_generated.h.

◆ VerifySizePrefixedFxngen_params_fbBuffer()

bool MagAOX::logger::VerifySizePrefixedFxngen_params_fbBuffer ( flatbuffers::Verifier &  verifier)
inline

Definition at line 177 of file fxngen_params_generated.h.

◆ VerifySizePrefixedGit_state_fbBuffer()

bool MagAOX::logger::VerifySizePrefixedGit_state_fbBuffer ( flatbuffers::Verifier &  verifier)
inline

Definition at line 101 of file git_state_generated.h.

◆ VerifySizePrefixedPdu_outlet_state_fbBuffer()

bool MagAOX::logger::VerifySizePrefixedPdu_outlet_state_fbBuffer ( flatbuffers::Verifier &  verifier)
inline

Definition at line 77 of file pdu_outlet_state_generated.h.

◆ VerifySizePrefixedSoftware_log_fbBuffer()

bool MagAOX::logger::VerifySizePrefixedSoftware_log_fbBuffer ( flatbuffers::Verifier &  verifier)
inline

Definition at line 125 of file software_log_generated.h.

◆ VerifySizePrefixedState_change_fbBuffer()

bool MagAOX::logger::VerifySizePrefixedState_change_fbBuffer ( flatbuffers::Verifier &  verifier)
inline

Definition at line 77 of file state_change_generated.h.

◆ VerifySizePrefixedString_log_fbBuffer()

bool MagAOX::logger::VerifySizePrefixedString_log_fbBuffer ( flatbuffers::Verifier &  verifier)
inline

Definition at line 76 of file string_log_generated.h.

◆ VerifySoftware_log_fbBuffer()

bool MagAOX::logger::VerifySoftware_log_fbBuffer ( flatbuffers::Verifier &  verifier)
inline

Definition at line 120 of file software_log_generated.h.

◆ VerifyState_change_fbBuffer()

bool MagAOX::logger::VerifyState_change_fbBuffer ( flatbuffers::Verifier &  verifier)
inline

Definition at line 72 of file state_change_generated.h.

◆ VerifyString_log_fbBuffer()

bool MagAOX::logger::VerifyString_log_fbBuffer ( flatbuffers::Verifier &  verifier)
inline

Definition at line 71 of file string_log_generated.h.