diff --git a/nemu/include/debug.h b/nemu/include/debug.h index 259d1ec..9782aa3 100644 --- a/nemu/include/debug.h +++ b/nemu/include/debug.h @@ -21,7 +21,7 @@ #include #define Log(format, ...) \ - _Log(ANSI_FMT("[INFO] %s:%d %s" , ANSI_FG_BLUE) format "\n", \ + _Log(ANSI_FMT("[INFO] %s:%d (%s) " , ANSI_FG_BLUE) format "\n", \ __FILE__, __LINE__, __func__, ## __VA_ARGS__) #define Warning(format, ...) \