sp_dbg_export.h 621 B

123456789101112131415161718192021222324
  1. #ifndef __SP_DBG_EXPORT_H__
  2. #define __SP_DBG_EXPORT_H__
  3. #pragma once
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. SPBASE_API int sp_dbg_init(const char *key);
  8. SPBASE_API int sp_dbg_set_output_gui(void *gui);
  9. SPBASE_API int sp_dbg_term();
  10. SPBASE_API void sp_dbg_trace(const char* str, ...);
  11. SPBASE_API void sp_dbg_debug(const char *str, ...);
  12. SPBASE_API void sp_dbg_info(const char *str, ...);
  13. SPBASE_API void sp_dbg_warn(const char *str, ...);
  14. SPBASE_API void sp_dbg_error(const char *str, ...);
  15. SPBASE_API void sp_dbg_fatal(const char *str, ...);
  16. #ifdef __cplusplus
  17. } // extern "C" {
  18. #endif
  19. #endif //__SP_DBG_H__