January 2020
Intermediate to advanced
532 pages
13h 31m
English
Let's consider a use case for building a file logging facility.
Suppose that we want to provide an API for logging messages to files based upon a set of logging levels. By default, we will support three levels: info, warning, and error. A logger facility is provided so that a message will be directed to a file, as long as it comes with a high enough logging level.
The functional requirements can be summarized as follows:
To implement the file logger, we will first define some constants for ...
Read now
Unlock full access