VIC icon indicating copy to clipboard operation
VIC copied to clipboard

ENH: refactor print libraries

Open jhamman opened this issue 9 years ago • 0 comments

The current print libraries should be refactored to provide sprint_* functions rather than print_* functions. @bartnijssen details this idea in https://github.com/UW-Hydro/VIC/pull/453#issuecomment-204765665. My vote is that we replace all print_{structure}() functions with sprint_{structure}() equivalents. The strings populated by the sprint_* functions can then easily be fed into a logging function (e.g. log_info) eliminating the need for the print_* versions.

jhamman avatar Apr 03 '16 01:04 jhamman