Aspect style logger that takes a cross cutting approach to logging in Javascript