From 44d6c41e5e586572de08c72c358aed9100a30353 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 1 Nov 2021 12:10:29 +0800 Subject: *log --- Runtime/Debug/Log.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Runtime/Debug/Log.h') diff --git a/Runtime/Debug/Log.h b/Runtime/Debug/Log.h index aaaaa78..8547102 100644 --- a/Runtime/Debug/Log.h +++ b/Runtime/Debug/Log.h @@ -1,14 +1,14 @@ #pragma once #include -void log_open_tag(std::string tag); +void log_open_tag(const char* tag); -void log_info(std::string log); -void log_warning(std::string log); -void log_error(std::string log); +void log_info(const char* fmt, ...); +void log_warning(const char* fmt, ...); +void log_error(const char* fmt, ...); -void log_error_null_param(std::string funcName, std::string param); +void log_error_null_param(const char* funcName, const char* param); -void log_info(std::string tag, std::string log); -void log_warning(std::string tag, std::string log); -void log_error(std::string tag, std::string log); +void log_info_tag(const char* tag, const char* fmt, ...); +void log_warning_tag(const char* tag, const char* fmt, ...); +void log_error_tag(const char* tag, const char* fmt, ...); -- cgit v1.1-26-g67d0