API
loop_paused.hpp
Go to the documentation of this file.
1 /** \file loop_paused.hpp
2  * \brief The MagAO-X logger loop paused type.
3  * \author Jared R. Males (jaredmales@gmail.com)
4  *
5  * \ingroup logger_types_files
6  *
7  * History:
8  * - 2018-08-18 created by JRM
9  */
10 #ifndef logger_types_loop_paused_hpp
11 #define logger_types_loop_paused_hpp
12 
13 #include "empty_log.hpp"
14 
15 namespace MagAOX
16 {
17 namespace logger
18 {
19 
20 ///Loop Paused event log
21 /** \ingroup logger_types
22  */
23 struct loop_paused : public empty_log<loop_paused>
24 {
25  ///The event code
26  static const flatlogs::eventCodeT eventCode = eventCodes::LOOP_PAUSED;
27 
28  ///The default level
30 
31  ///The message string
32  static const char * msg() {return "LOOP PAUSED";}
33 
34 };
35 
36 } //namespace logger
37 } //namespace MagAOX
38 
39 #endif //logger_types_loop_paused_hpp
The MagAO-X logger empty log base type.
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
Base class for logs consisting of an empty message.
Definition: empty_log.hpp:38
Loop Paused event log.
Definition: loop_paused.hpp:24
static const char * msg()
The message string.
Definition: loop_paused.hpp:32
static const flatlogs::eventCodeT eventCode
The event code.
Definition: loop_paused.hpp:26
static const flatlogs::logPrioT defaultLevel
The default level.
Definition: loop_paused.hpp:29