refactor: simplify
This commit is contained in:
1 parent
1a31748e40
commit
1b3d65476c
1 file changed
+1
-3
@@ -115,9 +115,7 @@ func (conn *LocalConnection) setStackFrag(frag bool) {
|
||||
}
|
||||
|
||||
func (conn *LocalConnection) log(args ...interface{}) {
|
||||
v := append([]interface{}{}, fmt.Sprintf("->[%s]:", conn.remote.Name))
|
||||
v = append(v, args...)
|
||||
log.Println(v...)
|
||||
log.Println(append(append([]interface{}{}, fmt.Sprintf("->[%s]:", conn.remote.Name)), args...)...)
|
||||
}
|
||||
|
||||
// ACTOR client API
|
||||
|
||||
Reference in new issue
Block a user