diff options
Diffstat (limited to 'include/YAGE/logger.hpp')
-rw-r--r-- | include/YAGE/logger.hpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/include/YAGE/logger.hpp b/include/YAGE/logger.hpp deleted file mode 100644 index 36c7b9b3..00000000 --- a/include/YAGE/logger.hpp +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef LOGGER_HPP -#define LOGGER_HPP - -#include <string> - -class Logger -{ -public: - template<typename Tail> - static std::string log(std::ostream &out, Tail &&tail) - { - out<<tail; - } - - template<typename Head, typename... Tail> - static std::string log(std::ostream &out, Head &&head, Tail &&...tail) - { - out<<std::forward<Head>(head); - log(out, std::forward<Tail>(tail)...); - } -}; - - -#endif |