Skip to content

Conversation

@180909
Copy link
Contributor

@180909 180909 commented Sep 28, 2021

What is the purpose of the change

Easy log output

Brief changelog

Add rlog.Debugf() rlog.Infof() rlog.Warningf() rlog.Errorf() rlog.Fatalf()

@wenfengwang
Copy link
Member

Could you tell us why we need the improvement?

@180909
Copy link
Contributor Author

180909 commented Oct 25, 2021

I read the source, and find this:

rlog.Info("Stats In One Day, SUM: %d TPS: AVGPT: %.2f", map[string]interface{}{
"statsName": si.statsName,
"statsKey": si.statsKey,
"SUM": ss.sum,
"TPS": fmt.Sprintf("%.2f", ss.tps),
"AVGPT": ss.avgpt,
})

@vongosling vongosling closed this Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants