summaryrefslogtreecommitdiff
path: root/include/badge/log.h
blob: 84e0dde711308ec23fcf01dcdf429fc533643bd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <Arduino.h>

namespace de::uvok::badge
{
#define LOG_F(...)                                                                                                     \
    {                                                                                                                  \
        Serial.printf("[%lu] ", millis());                                                                              \
        Serial.printf("[%s] ", __func__);                                                                              \
        Serial.printf(__VA_ARGS__);                                                                                     \
    }

} // namespace de::uvok::badge