Skip to content

Commit

Permalink
Fixed logs formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
OrigamingWasTaken committed Jul 2, 2024
1 parent 0e3bfa8 commit 1e06f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/windows/main/ts/debugging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { dataPath, loadSettings } from "./settings";
import { pathExists } from "./utils";

function formatConsoleLog(...args: any[]): string {
return new Date().toLocaleTimeString() + args
return `[${new Date().toLocaleTimeString()}] ` + args
.map((arg) => {
if (arg === null) {
return "null";
Expand Down

0 comments on commit 1e06f61

Please sign in to comment.