the log wrapper in C/C++ accepts formats
This commit is contained in:
@@ -44,3 +44,9 @@ void rust_log_event_with_level(const char* event, RustLogLevel level);
|
||||
#define RUST_LOG_DEBUG(msg) rust_log_event_with_level((msg), RUST_LOG_LEVEL_DEBUG)
|
||||
#define RUST_LOG_TRACE(msg) rust_log_event_with_level((msg), RUST_LOG_LEVEL_TRACE)
|
||||
|
||||
// C wrapper: printf-style helpers (header-only)
|
||||
#include "rust_backend_logging_c.h"
|
||||
#ifdef __cplusplus
|
||||
#include "rust_backend_logging_cpp.h"
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user