Merge pull request #1916 from d-Rickyy-b/log-date-timestamp

Log date timestamp
This commit is contained in:
Michael Teeuw 2020-02-05 12:43:26 +01:00 committed by GitHub
commit 4abb790e12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Removed `run-start.sh` script and update start commands:
- To start using electron, use `npm run start`.
- To start in server only mode, use `npm run server`.
- Timestamp in log output now also contains the date
## [2.10.1] - 2020-01-10

View File

@ -14,7 +14,7 @@ var path = require("path");
require("module-alias/register");
// add timestamps in front of log messages
require("console-stamp")(console, "HH:MM:ss.l");
require("console-stamp")(console, "yyyy-mm-dd HH:MM:ss.l");
// Get version number.
global.version = JSON.parse(fs.readFileSync("package.json", "utf8")).version;