2023-01-05 10:27:14 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
#include <exception>
|
|
|
|
|
|
|
|
extern std::string log_entries;
|
2023-01-20 15:22:21 +00:00
|
|
|
extern std::vector<size_t> log_entry_line_offsets;
|
2023-01-05 10:27:14 +00:00
|
|
|
|
2023-01-16 08:56:07 +00:00
|
|
|
std::string format_log(std::string entry, time_t time);
|
|
|
|
std::string format_log(std::string entry);
|
2023-01-20 15:22:21 +00:00
|
|
|
void log_raw(std::string line, bool print = true);
|
2023-01-07 09:15:21 +00:00
|
|
|
void log(std::string entry, time_t time);
|
|
|
|
void log(std::string entry);
|