| 123456789101112131415161718192021222324 |
- #ifndef __SP_DBG_EXPORT_H__
- #define __SP_DBG_EXPORT_H__
- #pragma once
- #ifdef __cplusplus
- extern "C" {
- #endif
- SPBASE_API int sp_dbg_init(const char *key);
- SPBASE_API int sp_dbg_set_output_gui(void *gui);
- SPBASE_API int sp_dbg_term();
- SPBASE_API void sp_dbg_trace(const char* str, ...);
- SPBASE_API void sp_dbg_debug(const char *str, ...);
- SPBASE_API void sp_dbg_info(const char *str, ...);
- SPBASE_API void sp_dbg_warn(const char *str, ...);
- SPBASE_API void sp_dbg_error(const char *str, ...);
- SPBASE_API void sp_dbg_fatal(const char *str, ...);
- #ifdef __cplusplus
- } // extern "C" {
- #endif
- #endif //__SP_DBG_H__
|