summaryrefslogtreecommitdiff
path: root/src/benoit/logfunc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/benoit/logfunc.cc')
-rw-r--r--src/benoit/logfunc.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/benoit/logfunc.cc b/src/benoit/logfunc.cc
new file mode 100644
index 0000000..54f4202
--- /dev/null
+++ b/src/benoit/logfunc.cc
@@ -0,0 +1,8 @@
+# include <benoit/log.hh>
+# include <benoit/logfunc.hh>
+# include <fmt/core.h>
+# include <string>
+using namespace std::literals::string_literals;
+void benoit::logfunc(std::string const func) {
+ benoit::log(fmt::format("Function call: {}."s,func));
+}