November 2018
Intermediate to advanced
404 pages
10h 16m
English
Vapor has its own pluggable logger framework. Since the Logging module is part of Vapor's Console package, it is included in all Vapor projects by default. You'll have access to all Logging APIs after you include import Vapor in a Swift file.
Vapor's Logging module includes the Logger protocol that declares common interfaces for all logger implementations. One example is SwiftyBeaver Logger for Vapor 3.0, https://swiftybeaver.com/. In Vapor 3.0, it includes a simple implementation, PrintLogger for the Logger protocol that prints out logging information on the Terminal screen.
The Logging module is intended to provide logging information while your Vapor app is running. It offers different log levels ...
Read now
Unlock full access