API
 
Loading...
Searching...
No Matches
saving_start.hpp
Go to the documentation of this file.
1/** \file saving_start.hpp
2 * \brief The MagAO-X logger saving_start 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_saving_start_hpp
11#define logger_types_saving_start_hpp
12
14
15namespace MagAOX
16{
17namespace logger
18{
19
20///Saving started log
21/** \ingroup logger_types
22 */
24{
25 ///The event code
27
28 ///The default level
30
31 /// Get an empty logMetaDetail because meta data doesn't make sense for this log
32 /**
33 * \returns an empty logMetaDetail
34 */
35 static logMetaDetail getAccessor( const std::string & member /**< [in] the name of the member */ )
36 {
37 static_cast<void>(member);
38
39 std::cerr << "meta data doesn't make sense for saving_start.\n";
40 return logMetaDetail();
41 }
42
43};
44
45
46
47} //namespace logger
48} //namespace MagAOX
49
50#endif //logger_types_saving_start_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
static constexpr flatlogs::eventCodeT SAVING_START
Definition logCodes.hpp:30
Definition dm.hpp:28
static constexpr logPrioT LOG_NOTICE
A normal but significant condition.
The MagAO-X logger saving_state_change log type.
static logMetaDetail getAccessor(const std::string &member)
Get an empty logMetaDetail because meta data doesn't make sense for this log.
static const flatlogs::eventCodeT eventCode
The event code.
static const flatlogs::logPrioT defaultLevel
The default level.