mirror of https://github.com/vapor/docs.git
Update droplet.md
This commit is contained in:
parent
b947bd84cc
commit
c7b2f43c30
|
|
@ -84,7 +84,7 @@ If you want to modify a property of the `Droplet` only in certain cases, you can
|
|||
|
||||
```swift
|
||||
let config = try Config()
|
||||
config.addConfigurable(log: MyEmailLogger.self, name: "email")
|
||||
config.addConfigurable(log: MyEmailLogger.init, name: "email")
|
||||
|
||||
let drop = Droplet(config)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue