fix(core): update

This commit is contained in:
Philipp Kunz 2019-01-18 01:51:21 +01:00
parent 0ac464875a
commit ba19654a5e

View File

@ -57,7 +57,7 @@ export class Smartlog {
*/ */
public log(logLevelArg: TLogLevel, logMessageArg: string, logDataArg?: any) { public log(logLevelArg: TLogLevel, logMessageArg: string, logDataArg?: any) {
if (this.consoleEnabled) { if (this.consoleEnabled) {
console.log(`LOG: ${logLevelArg}: ${logMessageArg}`); console.log(`LOG => ${new Date().getHours()}:${new Date().getMinutes()}:${new Date().getSeconds()} => ${logLevelArg}: ${logMessageArg}`);
} }
const logPackage: ILogPackage = { const logPackage: ILogPackage = {
timestamp: Date.now(), timestamp: Date.now(),