Use logger for runtime error/debug prints (#3097)
Change runtime internal error/debug prints from using `os_printf()` to using `LOG_ERROR()`/`LOG_DEBUG()`.
This commit is contained in:
@ -80,7 +80,7 @@ hmu_verify(void *vheap, hmu_t *hmu)
|
||||
}
|
||||
|
||||
if (!is_padding_ok) {
|
||||
os_printf("Invalid padding for object created at %s:%d\n",
|
||||
LOG_ERROR("Invalid padding for object created at %s:%d\n",
|
||||
(prefix->file_name ? prefix->file_name : ""),
|
||||
prefix->line_no);
|
||||
#if BH_ENABLE_GC_CORRUPTION_CHECK != 0
|
||||
|
||||
Reference in New Issue
Block a user