19 #ifndef NAF_TOOLS_OUTPUTLOGGER
20 #define NAF_TOOLS_OUTPUTLOGGER
43 enum class NAF::Tools::LogType
57 static bool get_log_to_file() {
return log_to_file_; }
58 static bool get_print_debug() {
return print_debug_; }
59 static std::string get_output_file_address() {
return output_file_address_; }
61 static void set_log_to_file(
bool log_to_file) { log_to_file_ = log_to_file; }
62 static void set_print_debug(
bool print_debug) { print_debug_ = print_debug; }
63 static void set_output_file_address(std::string output_file_address) { output_file_address_ = output_file_address; }
65 static void Log_(Tools::LogType log_type, std::string& message);
66 static void Log_(std::string message);
67 static void Warning_(std::string message);
68 static void Error_(std::string message);
69 static void Debug_(std::string message);
70 static std::string CurrentDateTime_();
73 static std::mutex mutex_;
74 static bool log_to_file_;
75 static bool print_debug_;
76 static std::string output_file_address_;