API
saving_stop.hpp
Go to the documentation of this file.
1 /** \file saving_stop.hpp
2  * \brief The MagAO-X logger saving_stop log type.
3  * \author Jared R. Males (jaredmales@gmail.com)
4  *
5  * \ingroup logger_types_files
6  *
7  * History:
8  * - 2019-05-04 created by JRM
9  */
10 #ifndef logger_types_saving_stop_hpp
11 #define logger_types_saving_stop_hpp
12 
13 #include "saving_state_change.hpp"
14 
15 namespace MagAOX
16 {
17 namespace logger
18 {
19 
20 ///Saving started log
21 /** \ingroup logger_types
22  */
24 {
25  ///The event code
26  static const flatlogs::eventCodeT eventCode = eventCodes::SAVING_STOP;
27 
28  ///The default level
30 
31  static timespec lastRecord; ///< The time of the last time this log was recorded. Used by the telemetry system.
32 
33 };
34 
35 
36 
37 } //namespace logger
38 } //namespace MagAOX
39 
40 #endif //logger_types_saving_stop_hpp
uint16_t eventCodeT
The type of an event code (16-bit unsigned int).
Definition: logDefs.hpp:40
int8_t logPrioT
The type of the log priority code.
Definition: logDefs.hpp:21
Definition: dm.hpp:24
constexpr static logPrioT LOG_NOTICE
A normal but significant condition.
Definition: logPriority.hpp:46
The MagAO-X logger saving_state_change log type.
Saving started log.
Definition: saving_stop.hpp:24
static const flatlogs::eventCodeT eventCode
The event code.
Definition: saving_stop.hpp:26
static const flatlogs::logPrioT defaultLevel
The default level.
Definition: saving_stop.hpp:29
static timespec lastRecord
The time of the last time this log was recorded. Used by the telemetry system.
Definition: saving_stop.hpp:31