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

blues / note-arduino / 15449979450

04 Jun 2025 06:32PM UTC coverage: 88.189%. Remained the same
15449979450

Pull #145

github

web-flow
Merge dd818d16f into f7555f266
Pull Request #145: version v1.7.1

111 of 165 branches covered (67.27%)

Branch coverage included in aggregate %.

337 of 343 relevant lines covered (98.25%)

14.76 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