Once the source is defined, the severity assigned, and the destination specified, you are ready to insert the output statements in the appropriate places in the code.
The list of output methods is expanded from the few fundamental ones, as described in A Simple Example Flow. The pattern for overloading the signatures is fairly systematic – they are overloaded in order to provide flexibility for users. In addition, the set of output methods for location and for category are very similar.
At this stage, the tutorial focuses on a few basic and practical issues. This is further explained in Relations Between Category and Location, as it involves a better understanding of the logging features.
The output methods are divided into three main groups for the ease of explanation:
● Message Output with Severity
● The Program Flow for a Location