diff options
| author | uvok | 2026-05-03 17:51:08 +0200 |
|---|---|---|
| committer | uvok | 2026-05-03 17:51:08 +0200 |
| commit | 3a565e8547be2624f211d3114a14f58e2f624b24 (patch) | |
| tree | 3a39b1604bc05da2e1f747dcc79a1531cfed1b9e /include/badge | |
| parent | 9fee29bd54d4171c00c0c040ca68fc784c0c99d7 (diff) | |
Include function name in log
Diffstat (limited to 'include/badge')
| -rw-r--r-- | include/badge/log.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/badge/log.h b/include/badge/log.h index cbbe134..84e0dde 100644 --- a/include/badge/log.h +++ b/include/badge/log.h @@ -6,7 +6,8 @@ namespace de::uvok::badge { #define LOG_F(...) \ { \ - Serial.printf("[%u] ", millis()); \ + Serial.printf("[%lu] ", millis()); \ + Serial.printf("[%s] ", __func__); \ Serial.printf(__VA_ARGS__); \ } |
