summaryrefslogtreecommitdiff
path: root/aws.go
diff options
context:
space:
mode:
authorNick White <git@njw.name>2020-10-20 18:12:36 +0100
committerNick White <git@njw.name>2020-10-20 18:12:36 +0100
commit644abdb177331107696b2caf3f0de8ac76a74702 (patch)
tree56dc6e82fc8a866dabbcfff43e41f30eb89fed09 /aws.go
parentf1864ab8bdabb9aa0010fd21af036e6850049612 (diff)
Improve logging by using Println, which ensures there is a space between arguments, even if all are strings
Diffstat (limited to 'aws.go')
-rw-r--r--aws.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/aws.go b/aws.go
index da89146..5ebc79f 100644
--- a/aws.go
+++ b/aws.go
@@ -478,7 +478,7 @@ func (a *AwsConn) StartInstances(n int) error {
// Log records an item in the with the Logger. Arguments are handled
// as with fmt.Println.
func (a *AwsConn) Log(v ...interface{}) {
- a.Logger.Print(v...)
+ a.Logger.Println(v...)
}
// mkpipeline sets up necessary buckets and queues for the pipeline