Converted logger to Scala...will this work? D: