diff --git a/libsrc/core/logging.hpp b/libsrc/core/logging.hpp index e0e3efd6..6d3a40c8 100644 --- a/libsrc/core/logging.hpp +++ b/libsrc/core/logging.hpp @@ -43,6 +43,9 @@ namespace spdlog class logger { public: + template + void log_helper() { std::clog << t; } + template void log_helper( T t) { std::clog << t; } diff --git a/libsrc/core/profiler.hpp b/libsrc/core/profiler.hpp index f7415881..96a3fc44 100644 --- a/libsrc/core/profiler.hpp +++ b/libsrc/core/profiler.hpp @@ -124,7 +124,7 @@ namespace ngcore static void SetName (int nr, const std::string & name) { timers[nr].name = name; } static std::string GetName (int nr) { return timers[nr].name; } /// print profile - NGCORE_API static void Print (FILE * ost); + NGCORE_API static void Print (FILE * prof); class RegionTimer {