Commit 0fb4a8af authored by JessonChan's avatar JessonChan

function change

parent a6c1377f
......@@ -511,8 +511,8 @@ func SetLogFuncCall(b bool) {
}
// SetLogger sets a new logger.
func SetLogger(adaptername string, config string) error {
err := beeLogger.SetLogger(adaptername, config)
func SetLogger(adapter string, config ...string) error {
err := beeLogger.SetLogger(adapter, config...)
if err != nil {
return err
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment