refactor: simplify

This commit is contained in:
Matthias Radestock committed 2015-01-20 11:51:01 +00:00
1 parent 1a31748e40
commit 1b3d65476c
1 file changed
+1 -3
+1 -3
View File
@@ -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