Skip to content

Commit

Permalink
Added depreciation notice to PvlObject::addLogGroup for ISIS3 v9.0 (#…
Browse files Browse the repository at this point in the history
…5347)

* added depreciation notice to PvlObject::addLogGroup for ISIS v9.0

* added changelog notice for depreciation warning

* redirected warning output to cerr instead of cout
  • Loading branch information
antonhibl authored Dec 1, 2023
1 parent 36051ea commit 18e6593
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ release.
- Added new parameters <b>ONERROR</b>, <b>ERRORLOG</b>, and <b>ERRORLIST</b> to <i>mosrange</i> to provide better control over error behavior and provide diagnostics when problems are encountered processing the input file list.[#3606](https://github.com/DOI-USGS/ISIS3/issues/3606)
- Added ability to delegate calculation of nadir pointing to ALE [#5117](https://github.com/USGS-Astrogeology/ISIS3/issues/5117)
- Added --no-kernels flag to downloadIsisData [#5264](https://github.com/DOI-USGS/ISIS3/issues/5264)
- Added notice for depreciation to PvlObject::addLogGroup function which will be depreciated in favor of Application::appendAndLog(https://github.com/DOI-USGS/ISIS3/issues/5310)

### Deprecated

Expand Down
3 changes: 3 additions & 0 deletions isis/src/base/objs/PvlObject/PvlObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ namespace Isis {
void PvlObject::addLogGroup(Isis::PvlGroup &group) {
addGroup(group);
Application::Log(group);
QString msg = "This function(PvlObject::addLogGroup) will be depreciated in ISIS3 v9.0 in "
"favor of Application::appendLogGroup";
std::cerr << msg << std::endl;
};

/**
Expand Down

0 comments on commit 18e6593

Please sign in to comment.