logmeow/log.h

14 lines
342 B
C++

#pragma once
#include <string>
#include <vector>
#include <exception>
extern std::string log_entries;
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);
void log(std::string action, const std::exception& e);
std::string quote(const std::string& str);