log using the new function(s), which are OS-portable