Logging redesign - part 7#1405
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #1405 +/- ##
==========================================
- Coverage 25.23% 25.12% -0.11%
==========================================
Files 169 169
Lines 18631 18719 +88
==========================================
+ Hits 4701 4703 +2
- Misses 13930 14016 +86 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Looks good, and some proof I made it to the end of https://github.com/JSBSim-Team/jsbsim/pull/1405/changes 😉
So I guess now we can ping the FlightGear team and let them know that they can start looking into making use of the new logging system. |
|
Congrats @seanmcleod70 ! And thanks.
|
|
The PR is now merged. |

Following the PR #1401, this is the final PR of the migration to the new logging system started almost 2 years ago with the PR #1094.
Note that
JSBSim.cppand the directorysrc/utilitieswill not be migrated. The first being the source code of a command line executable which obviously needs to display output in the console. The second contains utilities to plot curves using the dislin library.Remaining occurrences of
coutAfter this PR the following occurrences of
coutwill remain:jsbsim/src/initialization/FGTrim.h
Line 113 in 98c0333
jsbsim/src/initialization/FGTrimAnalysis.h
Line 114 in 98c0333
jsbsim/src/models/FGOutput.h
Line 65 in 98c0333
jsbsim/src/input_output/FGLog.cpp
Lines 189 to 190 in 98c0333
The first three are occurring in a comment that gives an example of C++ code or document the class. The last one is in
FGLogConsolethat obviously needs to usestd::cout.Remaining occurrences of
cerrThe only last occurrence of
cerris inFGLogConsoleto display the error messages usingstd::cerrjsbsim/src/input_output/FGLog.cpp
Lines 193 to 194 in 98c0333