Sample showing simple JavaScript logging