Log
Dependents: oldheating gps motorhome heating
log.h@20:5b5284c60d3c, 2019-09-27 (annotated)
- Committer:
- andrewboyson
- Date:
- Fri Sep 27 11:32:50 2019 +0000
- Revision:
- 20:5b5284c60d3c
- Parent:
- 19:14376c221aec
Removed bug in LogTimeF where the returned size was incorrect.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 11:aff6dd8238ef | 1 | #include <stdarg.h> |
andrewboyson | 12:19c2d4943124 | 2 | #include <time.h> |
andrewboyson | 12:19c2d4943124 | 3 | #include <stdbool.h> |
andrewboyson | 19:14376c221aec | 4 | #include <stdint.h> |
andrewboyson | 11:aff6dd8238ef | 5 | |
andrewboyson | 13:fb7f40c2e446 | 6 | extern bool LogUart; |
andrewboyson | 13:fb7f40c2e446 | 7 | extern void LogInit(void (*tmFunction)(struct tm* ptm), int baud); //Set baud to 0 if no serial |
andrewboyson | 12:19c2d4943124 | 8 | extern void LogMain(void); |
andrewboyson | 13:fb7f40c2e446 | 9 | |
andrewboyson | 13:fb7f40c2e446 | 10 | extern void LogClear(void); |
andrewboyson | 9:d2c41855ed09 | 11 | |
andrewboyson | 16:5c41b457c7f3 | 12 | extern void LogChar(const char c); |
andrewboyson | 16:5c41b457c7f3 | 13 | extern int Log(const char* snd); |
andrewboyson | 16:5c41b457c7f3 | 14 | extern int LogV(const char *fmt, va_list argptr); |
andrewboyson | 16:5c41b457c7f3 | 15 | extern int LogF(const char *fmt, ...); |
andrewboyson | 16:5c41b457c7f3 | 16 | extern int LogTime(const char *snd); |
andrewboyson | 16:5c41b457c7f3 | 17 | extern int LogTimeF(const char *fmt, ...); |
andrewboyson | 9:d2c41855ed09 | 18 | |
andrewboyson | 0:9907e344c82a | 19 | extern void LogEnumerateStart(void); |
andrewboyson | 0:9907e344c82a | 20 | extern int LogEnumerate(void); |
andrewboyson | 12:19c2d4943124 | 21 | extern void LogEnable(bool value); |
andrewboyson | 17:7acb89d71f48 | 22 | |
andrewboyson | 17:7acb89d71f48 | 23 | extern void LogNibbleAsHex(int nibble); |
andrewboyson | 17:7acb89d71f48 | 24 | extern void LogByteAsHex(int value); |
andrewboyson | 19:14376c221aec | 25 | extern void LogBytesAsHex(const uint8_t* bytes, int size); |