API
text_log.hpp
Go to the documentation of this file.
1 /** \file text_log.hpp
2  * \brief The MagAO-X logger text_log log 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_text_log_hpp
11 #define logger_types_text_log_hpp
12 
13 #include "string_log.hpp"
14 
15 namespace MagAOX
16 {
17 namespace logger
18 {
19 
20 ///A simple text log, a string-type log.
21 /** \ingroup logger_types
22  */
23 struct text_log : public string_log
24 {
25  ///The event code
26  static const flatlogs::eventCodeT eventCode = eventCodes::TEXT_LOG;
27 
28  ///The default level
30 
31 };
32 
33 
34 
35 } //namespace logger
36 } //namespace MagAOX
37 
38 #endif //logger_types_text_log_hpp
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
The MagAO-X logger string_log log type.
Base class for logs consisting of a string message.
Definition: string_log.hpp:30
A simple text log, a string-type log.
Definition: text_log.hpp:24
static const flatlogs::eventCodeT eventCode
The event code.
Definition: text_log.hpp:26
static const flatlogs::logPrioT defaultLevel
The default level.
Definition: text_log.hpp:29