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

blues / note-arduino / 15443225790

04 Jun 2025 01:11PM UTC coverage: 88.119% (-1.3%) from 89.431%
15443225790

Pull #143

github

web-flow
Merge 7d0a26526 into 40acff306
Pull Request #143: chore: Wait for serial to be ready

111 of 165 branches covered (67.27%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

334 of 340 relevant lines covered (98.24%)

14.79 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
    virtual ~NoteLog(void) {}
5✔
11

12
    /**************************************************************************/
13
    /*!
14
        @brief  Writes a message to the Notecard debug port.
15
        @param    message
16
                A null-terminated, message string.
17
        @return The number of bytes transmitted.
18
    */
19
    /**************************************************************************/
20
    virtual size_t print(const char * message) = 0;
21
};
22

23
/******************************************************************************/
24
/*!
25
    @brief  Helper function to abstract, create and maintain a single instance
26
    of the NoteLog interface implementation, as required by the underlying
27
    `note-c` library.
28
    @param[in] log_parameters
29
               Pointer to the parameters required to instantiate
30
               the platform specific log output implementation.
31
*/
32
/******************************************************************************/
33
template <typename T> NoteLog * make_note_log (T & log_parameters);
34
NoteLog * make_note_log (nullptr_t);
35

36
#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