diff --git a/hapsigntool_cpp/utils/include/signature_tools_log.h b/hapsigntool_cpp/utils/include/signature_tools_log.h index e023a7df9fab504c0e356628cf4f01b5aecee13d..7bfcc632a02b9a368dc5310adecdfd998f6d3303 100644 --- a/hapsigntool_cpp/utils/include/signature_tools_log.h +++ b/hapsigntool_cpp/utils/include/signature_tools_log.h @@ -33,7 +33,7 @@ static const int PLACEHOLDERLEN = 3; static const int SCALE = 1000; #define SIGNATURE_LOG(level, fmt, ...) \ - printf("[%s] [%s] [%s] [%d] " fmt "\n", level, __FILE__, __FUNCTION__, __LINE__, ##__VA_ARGS__) \ + printf("[%s] [%s] [%s] [%d] " fmt "\n", level, __FILE_NAME__, __FUNCTION__, __LINE__, ##__VA_ARGS__) \ #ifdef SIGNATURE_LOG_DEBUG #define SIGNATURE_TOOLS_LOGI(fmt, ...) SIGNATURE_LOG("Info", fmt, ##__VA_ARGS__)