API
MagAOX::logger Namespace Reference

Classes

class  logFileName
 Organize and analyze the name of a log or telemetry file. More...
 
struct  compLogFileName
 Sort predicate for logFileNames. 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  logInMemory
 Structure to hold a log file in memory, tracking when a new file needs to be opened. More...
 
struct  logMap
 Map of log entries by application name, mapping both to files and to loaded buffers. More...
 
struct  logMetaSpec
 
struct  logMetaDetail
 
struct  logMeta
 Manage meta data for a log entry. More...
 
struct  config_log
 Log entry recording configuration settings at startup. More...
 
struct  emptyMessage
 Empty type for resolving logs with no message. More...
 
struct  empty_log
 Base class for logs consisting of an empty 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  git_state
 Log entry recording the build-time git state. More...
 
struct  indidriver_start
 INDI Driver Start log entry. More...
 
struct  indidriver_stop
 INDI Driver Start log entry. 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  observer
 Log entry recording the observer. More...
 
struct  ocam_temps
 Log entry recording the build-time git state. More...
 
struct  outlet_channel_state
 Application State Change. More...
 
struct  outlet_state
 Application State Change. More...
 
struct  pico_channel
 Application State Change. More...
 
struct  saving_start
 Saving started log. More...
 
struct  saving_state_change
 Saving State Change. More...
 
struct  saving_stop
 Saving started log. More...
 
struct  software_log
 Base class for software logs. More...
 
struct  software_emergency
 Software EMERGENCY log entry. More...
 
struct  software_alert
 Software ALERT log entry. More...
 
struct  software_critical
 Software CRITICAL log entry. More...
 
struct  software_error
 Software ERR log entry. More...
 
struct  software_warning
 Software WARN log entry. More...
 
struct  software_notice
 Software NOTICE log entry. More...
 
struct  software_info
 Software INFO log entry. More...
 
struct  software_debug
 Software DEBUG log entry. More...
 
struct  software_debug2
 Software DEBUG2 log entry. More...
 
struct  state_change
 Application State Change. More...
 
struct  string_log
 Base class for logs consisting of a string message. More...
 
struct  telem_blockgains
 Log entry recording electronics rack temperature. More...
 
struct  telem_chrony_stats
 Log entry recording the statistics from chrony. More...
 
struct  telem_chrony_status
 Log entry recording the status of chrony. More...
 
struct  telem_cooler
 Log entry recording the build-time git state. More...
 
struct  telem_coreloads
 Log entry recording CPU loads. More...
 
struct  telem_coretemps
 Log entry recording CPU temperatures. More...
 
struct  telem_dmmodes
 Log entry recording DM Mode Amplitudes. More...
 
struct  telem_dmspeck
 Log entry recording stdMotionStage status. More...
 
struct  telem_drivetemps
 Log entry recording hdd temperatures. More...
 
struct  telem_fgtimings
 Log entry recording framegrabber timings. More...
 
struct  telem_fxngen
 Log entry recording the function generator parameters. More...
 
struct  telem_loopgain
 Log entry recording the build-time git state. More...
 
struct  telem_observer
 Log entry recording the build-time git state. More...
 
struct  telem_pico
 Log entry recording CPU temperatures. More...
 
struct  telem_pokecenter
 Log entry recording DM poke centering results. More...
 
struct  telem_position
 Log entry recording position stage specific status. More...
 
struct  telem_rhusb
 Log entry recording the build-time git state. More...
 
struct  telem_saving
 Log entry recording data saving statistics. More...
 
struct  telem_saving_state
 Saving started log. More...
 
struct  telem_stage
 Log entry recording stdMotionStage status. More...
 
struct  telem_stdcam
 Log entry recording stdcam stage specific status. More...
 
struct  telem_telcat
 Log entry recording the build-time git state. More...
 
struct  telem_teldata
 Log entry recording the build-time git state. More...
 
struct  telem_telenv
 Log entry recording the build-time git state. More...
 
struct  telem_telpos
 Log entry recording the build-time git state. More...
 
struct  telem_telsee
 Log entry recording the build-time git state. More...
 
struct  telem_telvane
 Log entry recording the build-time git state. More...
 
struct  telem_temps
 Log entry recording electronics rack temperature. More...
 
struct  telem_usage
 Log entry recording hdd temperatures. More...
 
struct  telem_zaber
 Log entry recording zaber stage specific status. More...
 
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

logMetaDetail logMemberAccessor (flatlogs::eventCodeT ec, const std::string &memberName)
 
template<typename valT >
int getLogStateVal (valT &val, logMap &lm, const std::string &appName, flatlogs::eventCodeT ev, const flatlogs::timespecX &stime, const flatlogs::timespecX &atime, valT(*getter)(void *), char **hint=0)
 
template<typename valT >
int getLogContVal (valT &val, logMap &lm, const std::string &appName, flatlogs::eventCodeT ev, const flatlogs::timespecX &stime, const flatlogs::timespecX &atime, valT(*getter)(void *), char **hint=0)
 

Function Documentation

◆ getLogContVal()

template<typename valT >
int MagAOX::logger::getLogContVal ( valT &  val,
logMap lm,
const std::string &  appName,
flatlogs::eventCodeT  ev,
const flatlogs::timespecX stime,
const flatlogs::timespecX atime,
valT(*)(void *)  getter,
char **  hint = 0 
)

Definition at line 196 of file logMeta.hpp.

Referenced by MagAOX::logger::logMeta::valueNumber().

◆ getLogStateVal()

template<typename valT >
int MagAOX::logger::getLogStateVal ( valT &  val,
logMap lm,
const std::string &  appName,
flatlogs::eventCodeT  ev,
const flatlogs::timespecX stime,
const flatlogs::timespecX atime,
valT(*)(void *)  getter,
char **  hint = 0 
)

◆ logMemberAccessor()

logMetaDetail MagAOX::logger::logMemberAccessor ( flatlogs::eventCodeT  ec,
const std::string &  memberName 
)

Definition at line 20 of file logMeta.cpp.

Referenced by MagAOX::logger::logMeta::setLog().