added pretty print to chat sample

This commit is contained in:
Jonas Bonér 2010-01-03 08:06:43 +01:00
parent 46e6a78ee7
commit 6b4bceec00

View file

@ -198,10 +198,10 @@ object Runner {
client.login
client.post("Hi there")
println("CHAT LOG: " + client.chatLog.log)
println("CHAT LOG:\n\t" + client.chatLog.log.mkString("\n\t"))
client.post("Hi again")
println("CHAT LOG: " + client.chatLog.log)
println("CHAT LOG:\n\t" + client.chatLog.log.mkString("\n\t"))
client.logout
}