JavaScript Log Wrapping Wrapping console.log (et al.) in your own function to modify logging behavior. Why? You may want a simple way to: