From 04e782a7800a96e30b740c89e77db3757215410d Mon Sep 17 00:00:00 2001 From: adjoly Date: Fri, 11 Apr 2025 15:20:17 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=94=A8=E3=80=8D=20fix:=20fixed?= =?UTF-8?q?=20log=20func?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/log.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/includes/log.hpp b/includes/log.hpp index 108f89e..489f227 100644 --- a/includes/log.hpp +++ b/includes/log.hpp @@ -6,7 +6,7 @@ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/03/20 09:28:27 by adjoly #+# #+# */ -/* Updated: 2025/04/11 15:09:59 by adjoly ### ########.fr */ +/* Updated: 2025/04/11 15:19:58 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ @@ -34,7 +34,7 @@ static inline void log(std::string emoji, std::string who, std::cout << "「" << emoji << "」debug(" << who << "): " << str << std::endl; #else - (void)emoji, (void)what, (void)who, (void)str; + (void)emoji, (void)who, (void)str; #endif } @@ -45,7 +45,6 @@ class Logger { if (!fileName.empty()) { _ttyOnly = true; } else { - std::cout << "wtfff: " << _fileName << std::endl; _file.open(fileName.c_str(), std::ios::app); if (!_file.is_open() && !_ttyOnly) { _ttyOnly = true;