.. _program_listing_file_src_LouLib_Utility_Logger.hpp: Program Listing for File Logger.hpp =================================== |exhale_lsh| :ref:`Return to documentation for file ` (``src/LouLib/Utility/Logger.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef LOULIB_LOGGER_HPP #define LOULIB_LOGGER_HPP #include #include namespace LouLib{ namespace Utility{ class Logger { private: std::ofstream fout; public: Logger(); Logger(std::string logFile, std::string fileType = "txt"); void log(std::string message, bool endl = false); void close(); }; } } #endif //LOULIB_LOGGER_HPP