We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6139a0d commit ccef50bCopy full SHA for ccef50b
package.json
@@ -5,7 +5,7 @@
5
"prepare": "tsc",
6
"test": "jest"
7
},
8
- "version": "1.1.15",
+ "version": "1.1.16",
9
"main": "out/index.js",
10
"types": "out/index.d.ts",
11
"author": "Coder",
src/logger.ts
@@ -219,7 +219,11 @@ export class ServerFormatter extends Formatter {
219
220
protected doWrite(format: string, args: string[], fields: Array<Field<Argument>>): void {
221
if (fields.length === 0) {
222
- return console.log(format, ...args);
+ return console.log(
223
+ "[%s] " + format,
224
+ new Date().toISOString(),
225
+ ...args
226
+ );
227
}
228
const obj: { [key: string]: Argument} = {};
229
fields.forEach((field) => obj[field.identifier] = field.value);
0 commit comments