From 646b5a326471f3b10551a3bfdcabaadb020ea219 Mon Sep 17 00:00:00 2001 From: ineed bots Date: Sat, 3 Aug 2024 15:02:46 -0600 Subject: [PATCH] no more printf --- src/component/fileio.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/component/fileio.cpp b/src/component/fileio.cpp index cbdbec3..1719e91 100644 --- a/src/component/fileio.cpp +++ b/src/component/fileio.cpp @@ -87,7 +87,7 @@ namespace fileio void free_scr_fh(scr_fh_t& scr_fh) { #ifdef DEBUG - printf("free_scr_fh: closing %s\n", scr_fh.base_path.c_str()); + plugin::get()->get_interface()->logging()->info(utils::string::va("free_scr_fh: closing %s\n", scr_fh.base_path.c_str())); #endif scr_fh = {}; @@ -251,7 +251,7 @@ namespace fileio } #ifdef DEBUG - printf("gscr_fs_fopen: opening %s, mode %s\n", fpath.c_str(), mode); + plugin::get()->get_interface()->logging()->info(utils::string::va("gscr_fs_fopen: opening %s, mode %s\n", fpath.c_str(), mode)); #endif game::Scr_AddInt(game::SCRIPTINSTANCE_SERVER, i + 1); });