2023-01-05 10:27:14 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
#include <exception>
|
|
|
|
|
|
|
|
extern std::string log_entries;
|
|
|
|
|
2023-01-07 09:15:21 +00:00
|
|
|
void log(std::string entry, time_t time);
|
|
|
|
void log(std::string entry);
|
|
|
|
void log(std::string action, const std::exception& e, time_t time);
|
2023-01-05 10:27:14 +00:00
|
|
|
void log(std::string action, const std::exception& e);
|
|
|
|
std::string quote(const std::string& str);
|