mirror of https://github.com/vapor/docs.git
Update droplet.md
This commit is contained in:
parent
2b37c963f2
commit
7a8ac97d49
|
|
@ -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() + "!!!")
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue