The type of the message. More...
#include <software_log.hpp>
Public Member Functions | |
messageT (const char *file, const uint32_t line, const int32_t errnoCode, const int32_t otherCode, const char *explanation) | |
C'tor with full specification. More... | |
messageT (const char *file, const uint32_t line, const int32_t errnoCode, const int32_t otherCode, const std::string &explanation) | |
C'tor with full specification, overloaded for a std::string in explanation. More... | |
messageT (const char *file, const uint32_t line, const int32_t errnoCode) | |
C'tor for errno only – code explanation can be looked up later. More... | |
messageT (const char *file, const uint32_t line, const int32_t errnoCode, const char *explanation) | |
C'tor for errno with additional explanation. More... | |
messageT (const char *file, const uint32_t line, const int32_t errnoCode, const std::string &explanation) | |
C'tor for errno with additional explanation, std::string overload. More... | |
messageT (const char *file, const uint32_t line, const std::string &explanation) | |
C'tor with no codes, just the explanation. More... | |
messageT (const char *file, const uint32_t line) | |
C'tor for a trace log, only the file and line. More... | |
Public Attributes | |
flatbuffers::FlatBufferBuilder | builder |
The type of the message.
Definition at line 35 of file software_log.hpp.
|
inline |
C'tor with full specification.
[in] | file | The file of the error, should always be \_ \_FILE\_\_ |
[in] | line | The line number of the error, should always be \_ \_LINE\_\_ |
[in] | errnoCode | The errno code at the time of the log entry. Only errno should be passed here, so strerror can be used later. |
[in] | otherCode | Some other error code, such as a return value or library code. |
[in] | explanation | explanatory text about the software event |
Definition at line 38 of file software_log.hpp.
|
inline |
C'tor with full specification, overloaded for a std::string in explanation.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
[in] | file | The file of the error, should always be \_ \_FILE\_\_ |
[in] | line | The line number of the error, should always be \_ \_LINE\_\_ |
[in] | errnoCode | The errno code at the time of the log entry. Only errno should be passed here, so strerror can be used later. |
[in] | otherCode | Some other error code, such as a return value or library code. |
[in] | explanation | explanatory text about the software event |
Definition at line 55 of file software_log.hpp.
|
inline |
C'tor for errno only – code explanation can be looked up later.
[in] | file | The file of the error, should always be \_ \_FILE\_\_ |
[in] | line | The line number of the error, should always be \_ \_LINE\_\_ |
[in] | errnoCode | The errno code at the time of the log entry. Only errno should be passed here, so strerror can be used later. |
Definition at line 70 of file software_log.hpp.
|
inline |
C'tor for errno with additional explanation.
[in] | file | The file of the error, should always be \_ \_FILE\_\_ |
[in] | line | The line number of the error, should always be \_ \_LINE\_\_ |
[in] | errnoCode | The errno code at the time of the log entry. Only errno should be passed here, so strerror can be used later. |
[in] | explanation | explanatory text about the software event |
Definition at line 82 of file software_log.hpp.
|
inline |
C'tor for errno with additional explanation, std::string overload.
[in] | file | The file of the error, should always be \_ \_FILE\_\_ |
[in] | line | The line number of the error, should always be \_ \_LINE\_\_ |
[in] | errnoCode | The errno code at the time of the log entry. Only errno should be passed here, so strerror can be used later. |
[in] | explanation | explanatory text about the software event |
Definition at line 96 of file software_log.hpp.
|
inline |
C'tor with no codes, just the explanation.
[in] | file | The file of the error, should always be \_ \_FILE\_\_ |
[in] | line | The line number of the error, should always be \_ \_LINE\_\_ |
[in] | explanation | explanatory text about the software event |
Definition at line 110 of file software_log.hpp.
|
inline |
C'tor for a trace log, only the file and line.
[in] | file | The file of the error, should always be \_ \_FILE\_\_ |
[in] | line | The line number of the error, should always be \_ \_LINE\_\_ |
Definition at line 123 of file software_log.hpp.
|
inherited |
Definition at line 30 of file flatbuffer_log.hpp.
Referenced by MagAOX::logger::telem_sparkleclock::messageT::messageT(), MagAOX::logger::telem_dmspeck::messageT::messageT(), messageT(), MagAOX::logger::string_log::messageT::messageT(), MagAOX::logger::telem_fgtimings::messageT::messageT(), MagAOX::logger::telem_telpos::messageT::messageT(), MagAOX::logger::telem_telvane::messageT::messageT(), MagAOX::logger::telem_telenv::messageT::messageT(), MagAOX::logger::telem_chrony_stats::messageT::messageT(), MagAOX::logger::ocam_temps::messageT::messageT(), MagAOX::logger::telem_cooler::messageT::messageT(), MagAOX::logger::telem_position::messageT::messageT(), MagAOX::logger::telem_zaber::messageT::messageT(), MagAOX::logger::telem_pi335::messageT::messageT(), MagAOX::logger::telem_rhusb::messageT::messageT(), MagAOX::logger::telem_telsee::messageT::messageT(), MagAOX::logger::telem_teldata::messageT::messageT(), MagAOX::logger::telem_stage::messageT::messageT(), MagAOX::logger::telem_telcat::messageT::messageT(), MagAOX::logger::outlet_channel_state::messageT::messageT(), MagAOX::logger::user_log::messageT::messageT(), MagAOX::logger::telem_observer::messageT::messageT(), MagAOX::logger::observer::messageT::messageT(), MagAOX::logger::telem_chrony_status::messageT::messageT(), MagAOX::logger::telem_stdcam::messageT::messageT(), MagAOX::logger::config_log::messageT::messageT(), MagAOX::logger::pico_channel::messageT::messageT(), MagAOX::logger::git_state::messageT::messageT(), MagAOX::logger::telem_blockgains::messageT::messageT(), MagAOX::logger::telem_temps::messageT::messageT(), MagAOX::logger::telem_saving::messageT::messageT(), MagAOX::logger::telem_fxngen::messageT::messageT(), MagAOX::logger::telem_pokeloop::messageT::messageT(), MagAOX::logger::telem_pokecenter::messageT::messageT(), MagAOX::logger::ttmmod_params::messageT::messageT(), MagAOX::logger::telem_loopgain::messageT::messageT(), MagAOX::logger::telem_usage::messageT::messageT(), MagAOX::logger::state_change::messageT::messageT(), MagAOX::logger::saving_state_change::messageT::messageT(), MagAOX::logger::telem_dmmodes::messageT::messageT(), MagAOX::logger::telem_coreloads::messageT::messageT(), MagAOX::logger::telem_coretemps::messageT::messageT(), MagAOX::logger::telem_pico::messageT::messageT(), MagAOX::logger::telem_drivetemps::messageT::messageT(), and MagAOX::logger::outlet_state::messageT::messageT().