API
loop_open.hpp
Go to the documentation of this file.
1 /** \file loop_open.hpp
2  * \brief The MagAO-X logger loop open 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_open_hpp
11 #define logger_types_loop_open_hpp
12 
13 #include "empty_log.hpp"
14 
15 namespace MagAOX
16 {
17 namespace logger
18 {
19 
20 ///Loop Open event log
21 /** \ingroup logger_types
22  */
23 struct loop_open : public empty_log<loop_open>
24 {
25  ///The event code
26  constexpr static flatlogs::eventCodeT eventCode = eventCodes::LOOP_OPEN;
27 
28  ///The default level
30 
31  ///The message string
32  static const char * msg() {return "LOOP OPEN";}
33 
34 };
35 
36 
37 } //namespace logger
38 } //namespace MagAOX
39 
40 #endif //logger_types_loop_open_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 Open event log.
Definition: loop_open.hpp:24
constexpr static flatlogs::eventCodeT eventCode
The event code.
Definition: loop_open.hpp:26
static const char * msg()
The message string.
Definition: loop_open.hpp:32
constexpr static flatlogs::logPrioT defaultLevel
The default level.
Definition: loop_open.hpp:29