A Javascript logging abstraction.