diff --git a/include/ur_modern_driver/log.h b/include/ur_modern_driver/log.h index 3837402..db0f5b6 100644 --- a/include/ur_modern_driver/log.h +++ b/include/ur_modern_driver/log.h @@ -12,10 +12,10 @@ #else - #define LOG_DEBUG(format, ...) printf("DEBUG: " format "\n", ##__VA_ARGS__) - #define LOG_WARN(format, ...) printf("WARNING: " format "\n", ##__VA_ARGS__) - #define LOG_INFO(format, ...) printf("INFO: " format "\n", ##__VA_ARGS__) - #define LOG_ERROR(format, ...) printf("ERROR: " format "\n", ##__VA_ARGS__) - #define LOG_FATAL(format, ...) printf("FATAL: " format "\n", ##__VA_ARGS__) + #define LOG_DEBUG(format, ...) printf("[DEBUG]: " format "\n", ##__VA_ARGS__) + #define LOG_WARN(format, ...) printf("[WARNING]: " format "\n", ##__VA_ARGS__) + #define LOG_INFO(format, ...) printf("[INFO]: " format "\n", ##__VA_ARGS__) + #define LOG_ERROR(format, ...) printf("[ERROR]: " format "\n", ##__VA_ARGS__) + #define LOG_FATAL(format, ...) printf("[FATAL]: " format "\n", ##__VA_ARGS__) #endif \ No newline at end of file