VIC
VIC copied to clipboard
ENH: refactor print libraries
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.