mirror of
https://github.com/documize/community.git
synced 2025-07-18 20:59:43 +02:00
Allow logger.Info multiple args
This commit is contained in:
parent
c6863201b3
commit
60dfb54d54
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ func (l Logger) Info(message string) {
|
||||||
|
|
||||||
// Infof logs message via Sprintf.
|
// Infof logs message via Sprintf.
|
||||||
func (l Logger) Infof(message string, a ...interface{}) {
|
func (l Logger) Infof(message string, a ...interface{}) {
|
||||||
l.log.Println(fmt.Sprintf(message, a))
|
l.log.Println(fmt.Sprintf(message, a...))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Trace logs message if tracing enabled.
|
// Trace logs message if tracing enabled.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue