cqframework / cqf-tooling

Tooling for CQL and IG Authors
Apache License 2.0
19 stars 22 forks source link

Replace use of System.out/System.err with SLF4J Logging #465

Closed Chris0296 closed 11 months ago

Chris0296 commented 11 months ago

Description

Various parts of the tooling log errors / warnings to System.out instead of a logging framework. This makes it difficult to redirect logging to a file or to distinguish errors from the actual output.

This change routes output to the SLF4J logging framework, except for in cases where the outputs are required by the CLI. It also cleans up log message formatting.

By creating this PR you acknowledge that your contribution will be licensed under Apache 2.0