• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

blues / note-arduino / 13307521056

13 Feb 2025 12:19PM UTC coverage: 94.831%. Remained the same
13307521056

Pull #131

github

web-flow
Merge 707de2580 into d8e8fbdc4
Pull Request #131: chore: Update Arduino CLI

104 of 127 branches covered (81.89%)

Branch coverage included in aggregate %.

318 of 318 relevant lines covered (100.0%)

16.12 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/NoteLog.hpp
1
#ifndef NOTE_LOG_HPP
2
#define NOTE_LOG_HPP
3

4
#include <stddef.h>
5

6
class NoteLog
7
{
8
public:
9
    /**************************************************************************/
10
    /*!
11
        @brief  Type used to abstract specific hardware implementation types.
12
    */
13
    /**************************************************************************/
14
    typedef void * param_t;
15

16
    virtual ~NoteLog(void) {}
5✔
17

18
    /**************************************************************************/
19
    /*!
20
        @brief  Writes a message to the Notecard debug port.
21
        @param    message
22
                A null-terminated, message string.
23
        @return The number of bytes transmitted.
24
    */
25
    /**************************************************************************/
26
    virtual size_t print(const char * message) = 0;
27
};
28

29
/******************************************************************************/
30
/*!
31
    @brief  Helper function to abstract, create and maintain a single instance
32
    of the NoteLog interface implementation, as required by the underlying
33
    `note-c` library.
34
    @param[in] log_parameters
35
               Pointer to the parameters required to instantiate
36
               the platform specific log output implementation.
37
*/
38
/******************************************************************************/
39
NoteLog * make_note_log (
40
    NoteLog::param_t log_parameters
41
);
42

43
#endif // NOTE_LOG_HPP
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc