AceTime  0.5.1
Date and time classes for Arduino that support timezones from the TZ Database, and a system clock that can synchronize from an NTP server or an RTC chip.
logging.h
1 /*
2  * MIT License
3  * Copyright (c) 2018 Brian T. Park
4  */
5 
6 /*
7  * Implement logging::printf() that accept formatting strings like printf(). I
8  * finally got tired of writing multiple lines of SERIAL_PORT_MONITOR.print()
9  * for debugging.
10  */
11 
12 #ifndef ACE_TIME_COMMON_LOGGING_H
13 #define ACE_TIME_COMMON_LOGGING_H
14 
15 #include <stdarg.h>
16 
17 namespace ace_time {
18 namespace logging {
19 
20 void vprintf(const char *fmt, va_list args);
21 
23 void print(const char* fmt, ...);
24 
29 void println(const char *fmt, ... );
30 
32 void println();
33 
34 }
35 }
36 
37 #endif