Skip to content

Commit

Permalink
dev: remove unused filed 'ts'
Browse files Browse the repository at this point in the history
  • Loading branch information
wwhai committed Apr 7, 2024
1 parent 63cb9e9 commit 6c26786
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion glogger/ws_logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ func (hk wsLogHook) Levels() []logrus.Level {
return hk.levels
}
func (hk wsLogHook) Fire(e *logrus.Entry) error {
e.Data["ts"] = time.Now().UnixMicro()
msg, _ := e.String()
private_GRealtimeLogger.Write([]byte(msg))
return nil
Expand Down

0 comments on commit 6c26786

Please sign in to comment.