A JavaScript logging utility.