51Degrees Pipeline Documentation  4.1

Logging

Introduction

Logging is available in all parts of the Pipeline, including flow data and flow elements. How logging is implemented will differ depending on language, with each having its own idiomatic way of performing the function. Any logging method which matches the language's logging interface can be used. Where possible, dependency injection is used to introduce a logger / logger factory to the Pipeline.

Configuration

Idiomatic set up of logging varies greatly between languages, but the basic principals apply to all. Both an element builder, and a pipeline builder, are provided with a logger factory so that every new object that is created has logging functionality specific to its instance. Standard log levels are adhered to, so the information logged can be limited to 'warn' for example.

Select a tab to view language specific information on configuring logging