mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-07 20:35:33 -04:00
log file path
This commit is contained in:
parent
9eed488a1b
commit
6d7934f149
BIN
dist/index.js
generated
vendored
BIN
dist/index.js
generated
vendored
Binary file not shown.
BIN
dist/index.js.map
generated
vendored
BIN
dist/index.js.map
generated
vendored
Binary file not shown.
@ -10,6 +10,9 @@ export class RemoteClientLogger {
|
|||||||
|
|
||||||
public static log(message: string) {
|
public static log(message: string) {
|
||||||
const finalMessage = `[Client] ${message}`;
|
const finalMessage = `[Client] ${message}`;
|
||||||
|
if (!fs.existsSync(this.LogFilePath)) {
|
||||||
|
fs.writeFileSync(this.LogFilePath, ``);
|
||||||
|
}
|
||||||
this.appendToFile(finalMessage);
|
this.appendToFile(finalMessage);
|
||||||
CloudRunnerLogger.log(finalMessage);
|
CloudRunnerLogger.log(finalMessage);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user