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