summaryrefslogtreecommitdiff
path: root/Runtime/Debug/Log.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-11-01 12:10:29 +0800
committerchai <chaifix@163.com>2021-11-01 12:10:29 +0800
commit44d6c41e5e586572de08c72c358aed9100a30353 (patch)
treea3dee8cbb9f7181c88464b31f231a264c570acd4 /Runtime/Debug/Log.h
parent78417f6cdedfcf60c8ca437190975644e942e01f (diff)
*log
Diffstat (limited to 'Runtime/Debug/Log.h')
-rw-r--r--Runtime/Debug/Log.h16
1 files changed, 8 insertions, 8 deletions
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 <string>
-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, ...);