Skip to content

Commit

Permalink
Update minimum required CMake version to 3.25 in CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
janjurca committed May 5, 2024
1 parent 9a2bc3e commit 3917c10
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.22)
cmake_minimum_required(VERSION 3.25)

# ---- Project ----

Expand Down
12 changes: 6 additions & 6 deletions include/filestorm/utils/logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ class FilestormLogger {

public:
std::shared_ptr<spdlog::logger> get_logger() { return logger; }
template <typename... Args> inline void trace(spdlog::format_string_t<Args...> fmt, Args &&...args) { PRINT_WITH_CLEAR(logger->trace(fmt, std::forward<Args>(args)...)); }
template <typename... Args> inline void debug(spdlog::format_string_t<Args...> fmt, Args &&...args) { PRINT_WITH_CLEAR(logger->debug(fmt, std::forward<Args>(args)...)); }
template <typename... Args> inline void info(spdlog::format_string_t<Args...> fmt, Args &&...args) { PRINT_WITH_CLEAR(logger->info(fmt, std::forward<Args>(args)...)); }
template <typename... Args> inline void warn(spdlog::format_string_t<Args...> fmt, Args &&...args) { PRINT_WITH_CLEAR(logger->warn(fmt, std::forward<Args>(args)...)); }
template <typename... Args> inline void error(spdlog::format_string_t<Args...> fmt, Args &&...args) { PRINT_WITH_CLEAR(logger->error(fmt, std::forward<Args>(args)...)); }
template <typename... Args> inline void critical(spdlog::format_string_t<Args...> fmt, Args &&...args) { PRINT_WITH_CLEAR(logger->critical(fmt, std::forward<Args>(args)...)); }
template <typename... Args> inline void trace(const std::string fmt, Args &&...args) { PRINT_WITH_CLEAR(logger->trace(fmt, std::forward<Args>(args)...)); }
template <typename... Args> inline void debug(const std::string fmt, Args &&...args) { PRINT_WITH_CLEAR(logger->debug(fmt, std::forward<Args>(args)...)); }
template <typename... Args> inline void info(const std::string fmt, Args &&...args) { PRINT_WITH_CLEAR(logger->info(fmt, std::forward<Args>(args)...)); }
template <typename... Args> inline void warn(const std::string fmt, Args &&...args) { PRINT_WITH_CLEAR(logger->warn(fmt, std::forward<Args>(args)...)); }
template <typename... Args> inline void error(const std::string fmt, Args &&...args) { PRINT_WITH_CLEAR(logger->error(fmt, std::forward<Args>(args)...)); }
template <typename... Args> inline void critical(const std::string fmt, Args &&...args) { PRINT_WITH_CLEAR(logger->critical(fmt, std::forward<Args>(args)...)); }

template <typename T> inline void trace(const T &msg) { PRINT_WITH_CLEAR(logger->trace(msg);) }
template <typename T> inline void debug(const T &msg) { PRINT_WITH_CLEAR(logger->debug(msg);) }
Expand Down

0 comments on commit 3917c10

Please sign in to comment.