Line data Source code
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
29 : static const flatlogs::logPrioT defaultLevel = flatlogs::logPrio::LOG_INFO;
30 :
31 : ///The message string
32 3 : 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
|