fix(core): update
This commit is contained in:
parent
0ac464875a
commit
ba19654a5e
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user