Skip to content

Commit

Permalink
♻️ Codense log format (#40)
Browse files Browse the repository at this point in the history
chore: make logging smaller
  • Loading branch information
nefrob authored Oct 13, 2024
1 parent 906091d commit 10c97be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default class Logger {
}

private log(message: string, level: LogLevel = LogLevel.INFO) {
const timestamp = new Date().toString();
this.outputChannel.appendLine(`[${timestamp}] [${level}] ${message}`);
const timestamp = new Date().toISOString();
this.outputChannel.append(`[${timestamp}] [${level}] ${message}`);
}
}

0 comments on commit 10c97be

Please sign in to comment.