mirror of https://github.com/vapor/docs.git
Update log.md
This commit is contained in:
parent
6de57148e5
commit
ed36d4ece7
|
|
@ -1 +1,17 @@
|
|||
Logging...
|
||||
Log information using `drop.log`.
|
||||
|
||||
```
|
||||
drop.log.info("Informational log")
|
||||
```
|
||||
|
||||
Log types supported are:
|
||||
- info
|
||||
- warning
|
||||
- verbose
|
||||
- debug
|
||||
- error
|
||||
- fatal
|
||||
|
||||
## Protocol
|
||||
|
||||
Create your own logger by conforming to `LogProtocol`.
|
||||
|
|
|
|||
Loading…
Reference in New Issue