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

blues / note-arduino / 13531037848

25 Feb 2025 09:12PM UTC coverage: 90.526%. Remained the same
13531037848

Pull #138

github

web-flow
Merge 9c9afc296 into 9a3a2641e
Pull Request #138: Test

98 of 137 branches covered (71.53%)

Branch coverage included in aggregate %.

332 of 338 relevant lines covered (98.22%)

15.22 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