esp32cam
OV2640 camera on ESP32-CAM
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
logger.hpp File Reference
#include <Arduino.h>

Go to the source code of this file.

Namespaces

namespace  esp32cam
 

Macros

#define ESP32CAM_LOG(fmt, ...)
 

Functions

void esp32cam::setLogger (Print &output)
 Set logger output.
 

Macro Definition Documentation

◆ ESP32CAM_LOG

#define ESP32CAM_LOG (   fmt,
  ... 
)
Value:
do { \
if (LogOutput != nullptr) { \
LogOutput->printf("[%8lu] " fmt "\n", millis(), ##__VA_ARGS__); \
} \
} while (false)