API
indidriver_start.hpp
Go to the documentation of this file.
1 /** \file indidriver_start.hpp
2  * \brief The MagAO-X logger INDI driver start 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_indidriver_start_hpp
11 #define logger_types_indidriver_start_hpp
12 
13 #include "empty_log.hpp"
14 
15 namespace MagAOX
16 {
17 namespace logger
18 {
19 
20 ///INDI Driver Start log entry
21 /** \ingroup logger_types
22  */
23 struct indidriver_start : public empty_log<indidriver_start>
24 {
25  ///The event code
26  static const flatlogs::eventCodeT eventCode = eventCodes::INDIDRIVER_START;
27 
28  ///The default level
30 
31  ///The message string
32  static const char * msg() { return "INDI driver communications started"; }
33 
34 };
35 
36 } //namespace logger
37 } //namespace MagAOX
38 
39 #endif //logger_types_indidriver_start_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_INFO
Informational. The info log level is the lowest level recorded during normal operations.
Definition: logPriority.hpp:49
Base class for logs consisting of an empty message.
Definition: empty_log.hpp:38
INDI Driver Start log entry.
static const char * msg()
The message string.
static const flatlogs::eventCodeT eventCode
The event code.
static const flatlogs::logPrioT defaultLevel
The default level.