dd_log.h 292 B

123456789101112131415
  1. #ifndef DD_LOG_H
  2. #define DD_LOG_H
  3. /*
  4. * dd_log
  5. * custom wrapper to print a message to
  6. * the right output, depending on the platform.
  7. *
  8. * on a native build, it prints it to `stdout`,
  9. * on android it prints it to logcat, with the tag `avdl`
  10. */
  11. void dd_log(const char *msg, ...);
  12. #endif