Fixed Args for Sprintf Function.
This commit is contained in:
parent
3fccbe2237
commit
531bb5ba41
|
|
@ -38,7 +38,7 @@ func (m *ML) Info(message string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ML) Infof(format string, a ...any) {
|
func (m *ML) Infof(format string, a ...any) {
|
||||||
msg := fmt.Sprintf(format, a)
|
msg := fmt.Sprintf(format, a...)
|
||||||
m.sendMsg("Info: " + msg)
|
m.sendMsg("Info: " + msg)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue