mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
fix log.
This commit is contained in:
parent
a23475a1ed
commit
a4514e9c52
@ -344,20 +344,20 @@ func genLongTemplate(resId, brief string, ts int64) *message.SendingMessage {
|
||||
func (c *QQClient) Info(msg string, args ...interface{}) {
|
||||
c.dispatchLogEvent(&LogEvent{
|
||||
Type: "INFO",
|
||||
Message: fmt.Sprintf(msg, args),
|
||||
Message: fmt.Sprintf(msg, args...),
|
||||
})
|
||||
}
|
||||
|
||||
func (c *QQClient) Error(msg string, args ...interface{}) {
|
||||
c.dispatchLogEvent(&LogEvent{
|
||||
Type: "ERROR",
|
||||
Message: fmt.Sprintf(msg, args),
|
||||
Message: fmt.Sprintf(msg, args...),
|
||||
})
|
||||
}
|
||||
|
||||
func (c *QQClient) Debug(msg string, args ...interface{}) {
|
||||
c.dispatchLogEvent(&LogEvent{
|
||||
Type: "DEBUG",
|
||||
Message: fmt.Sprintf(msg, args),
|
||||
Message: fmt.Sprintf(msg, args...),
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user