Typo in web app log

This commit is contained in:
Alexandre Archambault 2015-06-18 17:52:25 +01:00
parent a52719a25b
commit 08349d129a
1 changed files with 4 additions and 4 deletions

View File

@ -103,13 +103,13 @@ class Backend($: BackendScope[Unit, State]) {
val logger: Logger = new Logger {
def fetched(url: String) = {
println(s"Fetching $url")
$.modState(s => s.copy(log = s"Fetching $url" +: s.log))
}
def fetching(url: String) = {
println(s"Fetched $url")
$.modState(s => s.copy(log = s"Fetched $url" +: s.log))
}
def fetching(url: String) = {
println(s"Fetching $url")
$.modState(s => s.copy(log = s"Fetching $url" +: s.log))
}
def other(url: String, msg: String) = {
println(s"$url: $msg")
$.modState(s => s.copy(log = s"$url: $msg" +: s.log))