#pragma once #include #include // #define LOGGER (std::cout << __FILE__ << ":" << __LINE__) struct logger { logger() = default; template std::ostream& operator <<(T msg) { return std::cout << __FILE__ << ":" << __LINE__ << " " << msg; } ~logger() { std::cout << std::endl; } };