log file path

This commit is contained in:
Frostebite 2023-05-13 20:16:20 +01:00
parent 9eed488a1b
commit 6d7934f149
3 changed files with 3 additions and 0 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

View File

@ -10,6 +10,9 @@ export class RemoteClientLogger {
public static log(message: string) {
const finalMessage = `[Client] ${message}`;
if (!fs.existsSync(this.LogFilePath)) {
fs.writeFileSync(this.LogFilePath, ``);
}
this.appendToFile(finalMessage);
CloudRunnerLogger.log(finalMessage);
}