Skip to content

Commit

Permalink
fix: 修改 logger
Browse files Browse the repository at this point in the history
  • Loading branch information
BUPTlhuanyu committed Aug 29, 2020
1 parent cc1d25e commit 62acf4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/js/Logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function createColorLogger(colors: string[], name?: string){
(<LoggerObj>LoggerObj)[color] = function(...content: Array<BasicType>): void{
if(content.length === 0) return
let date = new Date()
let time = [date.getHours(), date.getMinutes(), date.getMilliseconds()].join(':')
let time = [date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()].join(':')
if(
typeof content[0] === 'string'
){
Expand Down

0 comments on commit 62acf4e

Please sign in to comment.