import fs from "fs";

import { getLogPath } from "~/functions/isLinuxServer.js";

export function addLogEntry(text) {
	fs.appendFileSync(`${getLogPath()}/log.txt`, text + "\n");
}
