Update droplet.md

This commit is contained in:
jonaszmclaren 2017-08-15 12:28:31 +02:00 committed by GitHub
parent 2b37c963f2
commit 7a8ac97d49
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ Let's create a custom logger to demonstrate Vapor's configurable properties.
final class AllCapsLogger: LogProtocol {
var enabled: [LogLevel] = []
func log(_ level: LogLevel, message: String, file: String, function: String, line: Int) {
print(message.uppercased + "!!!")
print(message.uppercased() + "!!!")
}
}
```