Show TOC

Enable Output MessagesLocate this document in the navigation structure

Use

Once the source has been defined, you are ready to insert the output statements in the appropriate places in the code.

Output Method APIs

The list of output methods is expanded from the few fundamental ones, as described in the example above. More information: Sample Java Code with Logging

The pattern for overloading the signatures is systematic - they are heavily overloaded 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.

More information: Relations Between Category and Location

The output methods are divided into three main groups for the ease of explanation: